Vote in a poll
vote_pollVote in a Mastodon poll by selecting option indexes; confirmation ensures your public, irreversible vote.
Instructions
Vote in a poll by option index, counting from zero. A vote cannot be changed or taken back, so it needs confirm: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Which connected account to act as. Matches a full handle (alice@example.social), a bare username (alice), or an instance (example.social). Defaults to the first connected account. Call list_accounts to see them. | |
| choices | Yes | Option indexes, counting from zero. More than one only if the poll allows it. | |
| confirm | No | Must be true. A vote is public to the instance and cannot be undone. | |
| poll_id | Yes | The poll id, from the <poll> element on the status. |