Class Nexus\Mcp\Schema\Request\InitializeRequest

final
readonly
extends JsonRpcRequest<array{jsonrpc: '2.0', id: (int|non-empty-string), method: 'initialize', params: array{_meta?: array<string, mixed>, capabilities: template-type<ClientCapabilities, Arrayable, 'T'>, clientInfo: template-type<Implementation, Arrayable, 'T'>, protocolVersion: non-empty-string}}>
implements ClientRequest

This request is sent from the client to the server when it first connects, asking it to begin initialization.

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