send_input
Types text into a Detour terminal session so agents can interact with live programs, then read the result using read_screen.
Instructions
Type into the session's terminal, as the person would: for interactive programs. Read the result with read_screen.
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>",
"text": "<text>"
},
"name": "send_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | What to type. Control keys as characters: "\u0003" is Ctrl+C, "\u001b" is Esc. | |
| enter | No | Press Enter after the text (default true). | |
| session_id | Yes |