remote_session_input
Send input text to a remote session to answer password prompts, confirmations, and interactive queries. Use when a command is waiting for user input, with option to hide sensitive data.
Instructions
Send input text to a session (respond to prompts, passwords, confirmations).
Use when a remote command is waiting for user input:
Password prompts
Y/N confirmations
Interactive text input
Any prompt ending with : or ?
Set hideInput=true for passwords to avoid logging sensitive data.
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": {
"input": "<input>"
},
"name": "remote_session_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Input text to send | |
| waitTime | No | How long to wait for output (ms). Default: 2000 | |
| hideInput | No | Hide input in response (for passwords). Default: false | |
| sessionId | No | Session ID (defaults to active session) | |
| waitForOutput | No | Wait for output after sending. Default: true |