answer_prompt
Provide the answer a blocked terminal is waiting for, using a key, digit, or text to unblock the session.
Instructions
Answer the question a terminal is blocked on. Only valid while its status is waiting_user_answer.
answer is a key (Enter, Escape, Up, Down, Tab, Space), a single digit
(in an option dialog it selects and submits that option: "2" = the
second one), or one line of text, typed and followed by Enter — only where
a text field has focus (an option list treats letters as hotkeys). Escape
cancels the question and ends the turn with no answer.
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": {
"terminal_id": "<terminal_id>",
"answer": "<answer>"
},
"name": "answer_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answer | Yes | ||
| terminal_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||