Request s-gw-Owned SSH Session
sgw_request_ssh_sessionCreate a local approval request for an SSH command to run over a persistent ControlMaster session. This enables secure, approved execution of remote commands.
Instructions
Create a local approval request for an SSH command that s-gw will run over its own persistent ControlMaster session.
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>",
"target": "<target>"
},
"name": "sgw_request_ssh_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| port | No | ||
| handle | Yes | ||
| reason | No | ||
| target | Yes | ||
| injectEnv | No | ||
| timeoutMs | No | ||
| workingDir | No |