Create a poll
create_pollStart a Twitch poll while live. The poll ID is saved for ending with end_poll. Supports 2-5 choices and custom duration.
Instructions
Start a Twitch poll. The poll id lands in the "twitch_current_poll_id" variable, and end_poll targets the last poll created this way. Only works while live on Twitch.
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": {
"title": "<title>",
"choices": "<choices>"
},
"name": "create_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | The poll question, e.g. "Which game next?". | |
| choices | Yes | 2-5 choice titles (25 chars max each). Titles must not contain commas. | |
| duration | No | How long the poll runs, in seconds (15-1800). |