shell_exec
Execute shell commands on the host machine with full system access, returning combined stdout and stderr.
Instructions
Run a shell command on the host machine and return combined stdout/stderr. Full system access.
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": "shell_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory (default: workspace). | |
| command | Yes | The shell command to execute. | |
| timeout_ms | No | Kill the command after this many ms (default: 120000). |