Run one ZapX tool
call_toolRun exactly ONE ZapX tool that changes something (restart, start/stop, write a file, install, update a setting, create/delete) by its name, with its arguments. Find the tool and its declaration with search_tools first. Ask the user before every change; the tool's own rules apply unchanged (confirm=true, previews, step-up, Pass). For reading, and for file changes across several files, prefer run_script.
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": {
"name": "<name>"
},
"name": "call_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact tool name (from search_tools). | |
| arguments | No | The tool's arguments as declared. |