final | |
|---|---|
readonly | |
extends |
PaginatedResult |
implements |
ServerResult |
The server's response to a tools/list request from the client.
| Methods | ||
|---|---|---|
public
|
__construct(list<Tool> $tools, ?Cursor $nextCursor = null, MetaObject $meta = new MetaObject())
|
# |
public
static
|
fromArray(array $data): static
|
# |
public
|
toArray(): array
|
# |
public
|
jsonSerialize(): array
|
# |
| Properties | |||
|---|---|---|---|
public
|
list<Tool>
|
$tools
|
# |
| Properties inherited from Nexus\Mcp\Core\Schema\Result\PaginatedResult |
|---|
$nextCursor |
| Properties inherited from Nexus\Mcp\Core\Schema\Result |
|---|
$meta |