Run a saved script
tool_useExecutes a saved script by name with optional arguments, returning its value, log lines, and paths to files it wrote for further processing.
Instructions
Run a saved script by name with args and return its value, log lines and any files it wrote (full paths; open them or pass them to other tools). Use tool_list to see what exists, tool_write when nothing fits.
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": "tool_use"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Passed to the script as `args` | |
| name | Yes | Script name from tool_list | |
| timeout_ms | No | Default 60000 |