run_command
Execute a subprocess with an argument list, optionally in a specified working directory and with a timeout. Use for running commands when inspection is insufficient.
Instructions
Run a subprocess with argv list only (no shell). Optional cwd relative to workspace or absolute path under root. Use only when necessary; prefer read/list for inspection.
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": {
"argv": "<argv>"
},
"name": "run_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| argv | Yes | ||
| timeout_sec | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |