final | |
|---|---|
readonly | |
extends |
Result |
implements |
ClientResult, ServerResult |
The response to a tasks/result request. The structure matches the result type of the original request. For example, a tools/call task would return the CallToolResult structure.
| Methods | ||
|---|---|---|
public
|
__construct(array<string, mixed> $payload = [], MetaObject $meta = new MetaObject())
|
# |
public
static
|
fromArray(array<string, mixed> $data): static
|
# |
public
|
toArray(): array
|
# |
| Methods inherited from Nexus\Mcp\Core\Schema\Result |
|---|
jsonSerialize() |
| Properties | |||
|---|---|---|---|
public
|
array<string, mixed>
|
$payload
|
# |
| Properties inherited from Nexus\Mcp\Core\Schema\Result |
|---|
$meta |