Call a tool on a server
call_toolInvoke any tool from the MCP hub's connected servers by specifying server, tool name, and arguments matching the input schema.
Instructions
Call a tool on one of the MCP servers. Arguments must match the schema from get_tool_schema.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"server": "<server>",
"tool": "<tool>"
},
"name": "call_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | Tool name from list_tools | |
| server | Yes | Server name from list_servers | |
| arguments | No | Tool arguments matching its input schema |