send_input
Send text input to a running command on an SSH session, enabling interaction with pagers, prompts, and other programs that require user responses.
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.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command_id | Yes | ||
| input_text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |