Table of Contents

Namespace RDCore.SDK.Assistant

Classes

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.

DescribeToolResult

The structured result of DescribeAt: a DescribeResult, with 1-based positions and paths from the workspace root.

DiagnosticsToolArguments

The arguments of GetDiagnostics.

DiagnosticsToolResult

What GetDiagnostics answers.

FindSymbolToolArguments

The arguments of FindSymbol.

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.

OutlineToolResult

The structured result of Outline: a ModuleOutline, with 1-based ranges and the path of the document from the workspace root.

PositionToolArguments

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

ReferencesToolArguments

The arguments of References.

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.

ToolExpressionDescription

An ExpressionDescription, with a 1-based range.

ToolOutlineEntry

An OutlineEntry, with 1-based ranges.

ToolSymbol

A symbol of the workspace, as FindSymbol answers it.

ToolSymbolDescription

A SymbolDescription, with a 1-based location and a path from the workspace root.

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.