Send Input
send_inputDeliver text input to a running asynchronous SSH command and return new output, enabling replies to prompts, pager controls, and interactive programs.
Instructions
Send input to a running async command and return any new output.
Useful for interacting with commands that require user input, such as:
- Pagers (less, more): send 'q' to quit, space to page down
- Yes/no prompts: send 'y' or 'n'
- Interactive programs: send appropriate responses
Args:
command_id: The command ID to send input to
input_text: Text to send (e.g., 'q', 'y
', etc.)
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": {
"command_id": "<command_id>",
"input_text": "<input_text>"
},
"name": "send_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command_id | Yes | ||
| input_text | Yes |