final | |
|---|---|
readonly | |
extends |
PaginatedRequest<'resources/templates/list', array{jsonrpc: '2.0', id: (int|non-empty-string), method: 'resources/templates/list', params: template-type<PaginatedRequestParams, RequestParams, 'T'>}> |
implements |
ClientRequest |
Sent from the client to request a list of resource templates the server has.
| Methods | ||
|---|---|---|
public
|
__construct(RequestId $id, PaginatedRequestParams $params)
|
# |
public
static
|
getMethod(): string
|
# |
public
static
|
fromArray(array $data): static
|
# |
public
|
toArray(): array
|
# |
| Methods inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcRequest |
|---|
jsonSerialize() |
| Constants inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcMessage |
|---|
|
| Properties | |||
|---|---|---|---|
public
readonly
|
PaginatedRequestParams
|
$params
|
# |
| Properties inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcRequest |
|---|
$id |