final | |
|---|---|
readonly | |
extends |
JsonRpcRequest<array{jsonrpc: '2.0', id: (int|non-empty-string), method: 'elicitation/create', params: array{_meta?: array<string, mixed>, message: non-empty-string, requestedSchema: template-type<RequestedSchema, Arrayable, 'T'>}}> |
implements |
ServerRequest |
A request from the server to elicit additional information from the user via the client.
| Methods | ||
|---|---|---|
public
|
__construct(
RequestId $id,
non-empty-string $message,
RequestedSchema $requestedSchema,
null|array<string, mixed> $meta = null,
)
|
# |
| 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 |
|---|
|
| Properties inherited from Nexus\Mcp\Schema\Message\JsonRpcRequest |
|---|
$jsonrpc, $id |
| Properties inherited from Nexus\Mcp\Schema\Request\Request |
|---|
$method, $params |