Execute a registered tool with provided arguments
POST/mcp/tools/callapplication/json
/mcp/tools/list.
HandsAI:
"2.0" (JSON-RPC protocol version)"tools/call" for tool execution requests"2.0""2.0"result on failure)nullparams field must not be nullinputSchema requirements-32602 (Invalid params).
McpToolCallRequest is converted to ToolExecuteRequestToolExecutionService looks up the tool configurationToolExecuteResponse is wrapped in McpToolCallResponse| Exception Type | Error Code | Example Message |
|---|---|---|
IllegalArgumentException | -32602 | ”Invalid params: tool not found” |
| Any other exception | -32603 | ”Internal error: NullPointerException” |
/mcp/tools/list to get available toolsid field to correlate async requestserror field before accessing resultinputSchemainputSchema.required