Ask the user
tg_ask_userPause an AI workflow to ask the user a question in the TG Agent console, offering choices or free text and returning the answer or a timeout result.
Instructions
Ask the user a question in the TG Agent console and wait for the answer (e.g. which of two versions to download). Give options when possible. Returns the answer, or answered=false after timeout_s.
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": {
"question": "<question>"
},
"name": "tg_ask_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | ||
| question | Yes | ||
| timeout_s | No | ||
| allow_text | No | Also allow a free-text answer |