final | |
|---|---|
readonly | |
extends |
Result<array{_meta?: array<string, mixed>, completion: array{hasMore?: bool, total?: int<0, max>, values: list<string>}}> |
implements |
ServerResult |
The server's response to a completion/complete request.
| Methods | ||
|---|---|---|
public
|
__construct(list<string> $values, null|int<0, max> $total = null, null|bool $hasMore = null, ?array $meta = null)
|
# |
public
|
toArray(): array
|
# |
| Methods inherited from Nexus\Mcp\Schema\Result\Result |
|---|
jsonSerialize() |
| Properties | |||
|---|---|---|---|
public
|
array{hasMore?: bool, total?: int<0, max>, values: list<string>}
|
$completion
|
# |
| Properties inherited from Nexus\Mcp\Schema\Result\Result |
|---|
$meta |