server_session_write
Send commands or input to a running SSH session and return its output, enabling interaction with persistent remote shells for operations and troubleshooting.
Instructions
Send a command or input to a running SSH session and return output.
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": {
"session_id": "<session_id>",
"input": "<input>"
},
"name": "server_session_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | ||
| confirm | No | ||
| wait_ms | No | ||
| session_id | Yes | ||
| append_newline | No |