Run command
run_commandSpawn a process from a pre-approved command list, capturing stdout/stderr with size limits and timeout for safe execution.
Instructions
Spawn a process from the configured allowedCommands list. Captures stdout/stderr with caps and a timeout.
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>"
},
"name": "run_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Binary name (must be in allowedCommands) | |
| args | No | ||
| cwd | No | ||
| timeoutMs | No | ||
| env | No |