ssh_spawn
Open a persistent interactive terminal on a remote host via SSH, returning a session ID for ongoing command execution.
Instructions
Open a persistent interactive PTY on a remote host; returns a session id.
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": {
"host": "<host>"
},
"name": "ssh_spawn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| command | No | ||
| cols | No | ||
| rows | No | ||
| user | No | ||
| port | No | ||
| key_path | No | ||
| known_hosts | No | ||
| jump | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |