run_command
Executes short allowlisted, read-only commands without shell syntax to safely inspect files and system diagnostics.
Instructions
Run a short, read-only allowlisted command without a shell. No arbitrary command or shell syntax is accepted.
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": {
"executable": "<executable>"
},
"name": "run_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | /app | |
| args | No | ||
| timeoutMs | No | ||
| executable | Yes |