Class Nexus\Mcp\Core\Schema\Request\CallToolRequest

final
readonly
extends JsonRpcRequest<'tools/call', array{jsonrpc: '2.0', id: (int|non-empty-string), method: 'tools/call', params: template-type<CallToolRequestParams, RequestParams, 'T'>}>
implements ClientRequest

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

Methods
Methods inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcRequest
jsonSerialize()
Constants inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcMessage
JSONRPC_VERSION
Properties
Properties inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcRequest
$id