final | |
|---|---|
readonly | |
extends |
Result<array{_meta?: template-type<MetaObject, Arrayable, 'T'>, resultType: non-empty-string, inputRequests?: array<string, array<string, mixed>>, requestState?: string}> |
implements |
ServerResult |
An InputRequiredResult sent by the server to indicate that additional input is needed
before the request can be completed. At least one of inputRequests or requestState MUST be present.
| Methods | ||
|---|---|---|
public
|
__construct(
null|array<string, InputRequest> $inputRequests = null,
?string $requestState = null,
MetaObject $meta = new MetaObject(),
)
|
# |
public
static
|
fromArray(array $data): static
|
# |
public
|
toArray(): array
|
# |
protected
|
getResultType(): string
|
# |
| Methods inherited from Nexus\Mcp\Core\Schema\Result |
|---|
jsonSerialize(), |
| Properties | |||
|---|---|---|---|
public
|
null|array<string, InputRequest>
|
$inputRequests
|
# |
public
|
?string
|
$requestState
|
# |
| Properties inherited from Nexus\Mcp\Core\Schema\Result |
|---|
$meta |