exec
Run a shell command on a host over SSH and get back stdout, stderr, exit code, and truncation status. Blocks commands that would cut the live transport unless explicitly overridden.
Instructions
Run a shell command on a host over SSH and report stdout/stderr/exit code/truncation; commands that would stop the service carrying the live transport are refused with TRANSPORT_SEVERED_RISK unless override is "sever-transport".
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": "exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Host name or address | |
| command | Yes | Shell command for the host platform | |
| override | No | Set to "sever-transport" to run a command the safety gate refused | |
| timeoutMs | No | Kill the command after this many ms |