run_command
Execute approved developer commands such as npm, git, or python with argument arrays, workspace-relative cwd, and timeouts for controlled coding workflows.
Instructions
Run a chosen developer executable using argument-array (no implicit shell), workspace cwd, timeout and human approval.
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": {
"command": "<command>",
"args": "<args>",
"reason": "<reason>"
},
"name": "run_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Relative working directory | . |
| args | Yes | Argument strings | |
| reason | Yes | Explain why this command is necessary | |
| command | Yes | Executable from command_catalog | |
| timeoutSeconds | No | 1..180 seconds |