CallToolRequest

data class CallToolRequest(val name: String, val arguments: JsonObject = EmptyJsonObject, val _meta: JsonObject = EmptyJsonObject) : ClientRequest, WithMeta(source)

Used by the client to invoke a tool provided by the server.

Constructors

Link copied to clipboard
constructor(name: String, arguments: JsonObject = EmptyJsonObject, _meta: JsonObject = EmptyJsonObject)

Properties

Link copied to clipboard
open override val _meta: JsonObject

The protocol reserves this result property to allow clients and servers to attach additional metadata to their responses.

Link copied to clipboard
Link copied to clipboard
open override val method: Method
Link copied to clipboard

Functions

Link copied to clipboard

Converts the request to a JSON-RPC request.