final | |
|---|---|
readonly | |
extends |
PaginatedResult<array{_meta?: array<string, mixed>, tools: list<template-type<Tool, BaseMetadata, 'T'>>, nextCursor?: non-empty-string}> |
implements |
ServerResult |
The server's response to a tools/list request from the client.
| Methods | ||
|---|---|---|
public
|
__construct(list<Tool> $tools, ?string $nextCursor = null, ?array $meta = null)
|
# |
public
|
toArray(): array
|
# |
| Methods inherited from Nexus\Mcp\Schema\Result\Result |
|---|
jsonSerialize() |
| Properties | |||
|---|---|---|---|
public
|
list<Tool>
|
$tools
|
# |
| Properties inherited from Nexus\Mcp\Schema\Result\PaginatedResult |
|---|
$nextCursor |
| Properties inherited from Nexus\Mcp\Schema\Result\Result |
|---|
$meta |