cascade_remote_bash
Execute shell commands on an opened remote SSH target, returning stdout, stderr, and exit code. Set execution timeouts and cancel cleanly by killing child process trees.
Instructions
Execute a shell command on an opened remote target. Returns stdout, stderr, and exit code. Supports execution timeout in seconds. Cancellation cleanly kills child process trees using pidfd/procfs.
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": {
"handle": "<handle>",
"command": "<command>"
},
"name": "cascade_remote_bash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | Yes | READY target handle (e.g. target-1) | |
| command | Yes | Shell command to run on target | |
| timeout | No | Execution timeout in seconds |