Class AssistantTools
Advertises that the language server serves an assistant the tools of its catalog (rdcore/tools/list, rdcore/tools/call), such as the
tools of CoreAssistantTools, which read the workspace's diagnostics and symbols. A client that expects it lists
the tools and calls them.
public record AssistantTools : CorePlatformClientCapability, IEquatable<CorePlatformClientCapability>, IEquatable<AssistantTools>
- Inheritance
-
AssistantTools
- Implements
- Inherited Members
Remarks
The tools are shaped as the Model Context Protocol shapes them (ToolDescriptor), so that a client that bridges
them to an assistant passes them through. A tool that edits a document sends the edit to the client (workspace/applyEdit), which applies it: the
language server writes no file of the workspace itself.
Constructors
AssistantTools(bool)
Advertises that the language server serves an assistant the tools of its catalog (rdcore/tools/list, rdcore/tools/call), such as the
tools of CoreAssistantTools, which read the workspace's diagnostics and symbols. A client that expects it lists
the tools and calls them.
public AssistantTools(bool IsSupported = false)
Parameters
IsSupportedboolWhether the capability is expected, or provided.
Remarks
The tools are shaped as the Model Context Protocol shapes them (ToolDescriptor), so that a client that bridges
them to an assistant passes them through. A tool that edits a document sends the edit to the client (workspace/applyEdit), which applies it: the
language server writes no file of the workspace itself.