Class ToolCallRequest
ToolCallParams as a request of rdcore/tools/call, answered with a ToolCallReply: the type a language server's
handler of the request takes.
[Method("rdcore/tools/call", Direction.ClientToServer)]
[JsonConverter(typeof(SystemTextJsonBridge<ToolCallRequest>))]
public sealed record ToolCallRequest : ToolCallParams, IEquatable<ToolCallParams>, IRequest, IRequest<Unit>, IRequest<ToolCallReply>, IBaseRequest, IEquatable<ToolCallRequest>
- Inheritance
-
ToolCallRequest
- Implements
-
IRequestIRequest<Unit>IRequest<ToolCallReply>IBaseRequest
- Inherited Members
Constructors
ToolCallRequest()
A call of no tool.
public ToolCallRequest()
ToolCallRequest(ToolCallParams)
A call of a tool.
public ToolCallRequest(ToolCallParams call)
Parameters
callToolCallParamsThe tool and its arguments.