vote_poll
Submit or change your vote on a Talk poll by selecting option indices, replacing any earlier vote. Works only for open polls and returns updated vote counts.
Instructions
Vote on a poll in a Talk conversation.
Voting replaces any previous vote — calling this again with different option_ids changes your vote. You cannot vote on closed polls.
Args: token: The conversation token. poll_id: The poll ID. Use get_poll to see available polls. option_ids: List of option indices to vote for (0-based). For example, if options are ["Yes", "No", "Maybe"], use [0] to vote "Yes", or [0, 2] to vote "Yes" and "Maybe". The number of choices must not exceed the poll's max_votes (0 means unlimited).
Returns: JSON object with updated poll details including your votes (voted_self) and current vote counts (if visible).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| poll_id | Yes | ||
| option_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |