call_tool
Execute a named ComfyUI tool with parameters in args and return the underlying tool's result.
Instructions
Execute a tool from the catalog by name. Pass its parameters in args (object). The result is exactly what the underlying tool returns.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "call_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | The tool's parameters as an object matching its describe_tool schema. A JSON-encoded string is also accepted. Omit for tools without parameters. | |
| name | No | Exact tool name from list_tools. | |
| arguments | No | Alias for args. | |
| tool_name | No | Alias for name. | |
| parameters | No | Alias for args. |