Table of Contents

Class ToolCallRequest

Namespace
RDCore.SDK.Platform.Protocol
Assembly
RDCore.SDK.dll

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
IRequest
IRequest<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

call ToolCallParams

The tool and its arguments.