send_input_by_session
Send input to the active shell of a persistent SSH session, enabling automated command execution on remote hosts.
Instructions
Send input to the active shell for a 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": {
"host": "<host>",
"input_text": "<input_text>"
},
"name": "send_input_by_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| port | No | ||
| username | No | ||
| input_text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |