Class Nexus\Mcp\Schema\Request\ReadResourceRequest

final
readonly
extends JsonRpcRequest<array{jsonrpc: '2.0', id: (int|non-empty-string), method: 'resources/read', params: array{_meta?: array<string, mixed>, uri: non-empty-string}}>
implements ClientRequest

Sent from the client to the server, to read a specific resource URI.

Methods
Methods inherited from Nexus\Mcp\Schema\Message\JsonRpcRequest
toArray()
Methods inherited from Nexus\Mcp\Schema\Request\Request
jsonSerialize()
Methods inherited from Nexus\Mcp\Schema\Message\Message
validateJsonRpc()
Constants inherited from Nexus\Mcp\Schema\Message\JsonRpcMessage
JSON_RPC_VERSION
Properties inherited from Nexus\Mcp\Schema\Message\JsonRpcRequest
$jsonrpc, $id
Properties inherited from Nexus\Mcp\Schema\Request\Request
$method, $params