final | |
|---|---|
readonly | |
extends |
JsonRpcRequest<'tools/call'> |
implements |
ClientRequest |
Used by the client to invoke a tool provided by the server.
| Methods | ||
|---|---|---|
public
|
__construct(RequestId $id, CallToolRequestParams $params)
|
# |
public
static
|
getMethod(): string
|
# |
public
static
|
fromArray(array $data): static
|
# |
| Methods inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcRequest |
|---|
toArray(), jsonSerialize() |
| Constants inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcMessage |
|---|
|
| Properties | |||
|---|---|---|---|
public
readonly
|
CallToolRequestParams
|
$params
|
# |
| Properties inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcRequest |
|---|
$id |