final | |
|---|---|
readonly | |
extends |
JsonRpcResultResponse<array{jsonrpc: '2.0', id: (int|non-empty-string), result: template-type<ListPromptsResult, Result, 'T'>}> |
A successful response from the server for a prompts/list request.
| Methods | ||
|---|---|---|
public
|
__construct(RequestId $id, ListPromptsResult $result)
|
# |
public
static
|
fromArray(array $data): static
|
# |
public
|
toArray(): array
|
# |
| Methods inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcResultResponse |
|---|
jsonSerialize(), parseId(), parseResult(), isInputRequired(), rejectInputRequired() |
| Constants inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcMessage |
|---|
|
| Properties | |||
|---|---|---|---|
public
readonly
|
ListPromptsResult
|
$result
|
# |
| Properties inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcResultResponse |
|---|
$id, |