send_poll
Send polls or quiz cards with clickable options to Telegram chats, optionally marking correct answers and explanations so users can vote or test their knowledge directly in chat.
Instructions
Send a poll or quiz card with clickable options.
發送投票或測驗卡片,供使用者點選。type=quiz 時可指定正確選項與解析說明。
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>",
"options": "<options>"
},
"name": "send_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | regular | |
| chat_id | No | ||
| options | Yes | ||
| question | Yes | ||
| explanation | No | ||
| is_anonymous | No | ||
| correct_option_id | No | ||
| allows_multiple_answers | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |