Table of Contents

Namespace RDCore.SDK.Assistant

Classes

ApplyFixToolArguments

The arguments of ApplyFix: a fix ListFixes listed, and the questions of its edit that are answered yes.

CoreAssistantTools

The names of the tools the language server serves an assistant (Name), with the arguments each takes and the structured result each answers with in this namespace.

DiagnosticsToolArguments

The arguments of GetDiagnostics.

DiagnosticsToolResult

What GetDiagnostics answers.

EditToolResult

What ApplyFix and Rename answer: the edit applied, or the questions it asks first.

FindSymbolToolArguments

The arguments of FindSymbol.

FixToolArguments

The arguments of PreviewFix: a fix ListFixes listed.

ListFixesToolArguments

The arguments of ListFixes: a document, and optionally a range of it.

ListFixesToolResult

What ListFixes answers.

LocationsToolResult

What References and Definition answer: places of the workspace.

McpLimits

The bounds a McpToolServer keeps.

McpServerInfo

The server, as a McpToolServer tells an assistant's host about it when it answers initialize.

McpToolServer

Serves the tools of an IAssistantToolSource to an assistant's host, as a Model Context Protocol (2025-06-18) server: the bridge between an assistant and the language server's rdcore/tools/* requests.

OutlineToolArguments

The arguments of Outline.

PositionToolArguments

The arguments of a tool that is asked about the name at a position of a document: Definition.

PreviewFixToolResult

What PreviewFix answers: what the fix would change, and nothing changed.

ReferencesToolArguments

The arguments of References.

RenameToolArguments

The arguments of Rename: the name at a position, the name it is given, and the questions of the edit that are answered yes.

SymbolsToolResult

What FindSymbol answers.

TextLocation

A range of a document of the workspace, as the tools of an assistant say it.

ToolAnnotations

What a call of a tool does, as hints a client decides by whether to ask its user before it calls it.

ToolCallParams

Calls a tool the language server serves an assistant (rdcore/tools/call).

ToolCallResult

What a call of a tool answers: a text for an assistant to read, and the same result as structured data where the tool has an OutputSchema.

ToolContent

One part of what a call of a tool answers: a text.

ToolDescriptor

What a tool is, as an assistant reads it: its name, what it does, the arguments it takes and what it answers.

ToolDiagnostic

A diagnostic of a document, as GetDiagnostics answers it.

ToolEditQuestion

A question an edit asks before it is applied: whether some of its edits, which may not be wanted, are made (LSP 3.17 ChangeAnnotation, with needsConfirmation).

ToolFileChange

A change of a document, as the tools that fix code say it.

ToolFix

A fix of a document, as ListFixes answers it: a code action of the language server.

ToolSymbol

A symbol of the workspace, as FindSymbol answers it.

ToolsListParams

Asks the language server for the tools it serves an assistant (rdcore/tools/list): sent by a client that expects the AssistantTools capability.

ToolsListResult

The tools the language server serves an assistant, in the language of the client's user interface.

Structs

TextPosition

A position in the text of a document as the tools of an assistant say it: a 1-based line and a 1-based column, the first character of a document being at 1:1.

TextRange

A range of the text of a document, 1-based (TextPosition): where it starts, and the position just after its last character.

Interfaces

IAssistantToolSource

Where an assistant bridge gets the tools it serves: the language server's catalog, through whatever connection the bridge has to it (rdcore/tools/list and rdcore/tools/call).

Enums

ToolDiagnosticSeverity

How severe a diagnostic is, as LSP grades it.