tg_poll
Post polls to Telegram groups or channels with 2-10 options, supporting multiple answers, quiz mode, and anonymous voting.
Instructions
Post a poll (2-10 options). Telegram refuses polls in private chats.
Args: chat: group or channel. question: the question. options: answer options. multiple: allow several answers. quiz_answer: index of the correct option — makes it a quiz. anonymous: false shows who voted for what.
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": {
"chat": "<chat>",
"question": "<question>",
"options": "<options>"
},
"name": "tg_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| options | Yes | ||
| multiple | No | ||
| question | Yes | ||
| anonymous | No | ||
| quiz_answer | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |