public
|
__construct(
RequestId $id,
ClientCapabilities $capabilities,
Implementation $clientInfo,
ProtocolVersion $protocolVersion,
null|array<string, mixed> $meta = null,
)
Parameters
| $id |
JSON-RPC request method.
|
| $capabilities |
Capabilities a client may support. Known capabilities are defined here,
in this schema, but this is not a closed set: any client can define its
own, additional capabilities.
|
| $clientInfo |
Describes the name and version of an MCP implementation, with an optional
title for UI representation.
|
| $protocolVersion |
The latest version of the Model Context Protocol that the client
supports. The client MAY decide to support older versions as well.
|
| $meta |
Reserved by MCP to allow clients and servers to attach
additional metadata to their interactions.
|
Overrides
|
#
|