Class Nexus\Mcp\Schema\Request\GetPromptRequest

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

Used by the client to get a prompt provided by the server.

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