docker_interactive_input
Answer interactive Docker session prompts (sudo password, y/N) by sending input, or poll for more output and status.
Instructions
Send a line of input to a running docker_interactive_exec session (e.g. answer a sudo password or y/N prompt), or just poll for more output if input is omitted. Returns newly produced output and status.
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>"
},
"name": "docker_interactive_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | Text to send. Omit to wait/poll for more output without sending anything. | |
| newline | No | Append a trailing newline after input (usually required for the remote program to see it as a submitted line). | |
| quiet_ms | No | ||
| session_id | Yes |