Ask User Confirmation or Input via Telegram
ask_telegram_confirmationSend an interactive Telegram question with inline buttons or free-text/media input, then wait for the user's response and return downloaded file paths.
Instructions
Send a question with interactive inline buttons and/or wait for user text or attached file/photo/mediagroup response. Automatically downloads received files to disk and returns their local paths.
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": "ask_telegram_confirmation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | No | Optional override for target Telegram Chat ID | |
| options | No | List of options/buttons to present to the user (can be empty if waiting for free text/media) | |
| question | Yes | The question text or confirmation description (HTML formatting supported) | |
| parseMode | No | Formatting mode for question text (default: HTML) | HTML |
| timeoutSeconds | No | Timeout in seconds waiting for user response (default 180s) |