Table of Contents

Class ToolCallParams

Namespace
RDCore.SDK.Assistant
Assembly
RDCore.SDK.Protocol.dll

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

public record ToolCallParams : IEquatable<ToolCallParams>
Inheritance
ToolCallParams
Implements
Derived
Inherited Members

Remarks

A tool that is not in the catalog is refused with the JSON-RPC error -32602. A call the tool itself refuses, arguments it cannot read included, is answered with a result whose IsError is true. $/cancelRequest cancels the call.

Properties

Arguments

The arguments, as the tool's InputSchema describes them; null for none.

public JsonObject? Arguments { get; init; }

Property Value

JsonObject

Name

The name of the tool (Name).

public string Name { get; init; }

Property Value

string