send_poll_vote
Cast or change your vote on a WhatsApp poll. Each call replaces your previous vote and broadcasts the updated tally.
Instructions
Cast or re-cast a vote on a previously-seen poll; each call replaces the caller's prior vote on that poll, and the new tally is broadcast to the chat. Reversible by calling again with the desired option set (or an empty list to clear). Prerequisite: the poll must be in the local cache, i.e. send_poll was used or we received the poll via sync. Returns a JSON object {Success, Message, ID} where ID is the vote message ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | Yes | option labels to pick; must match the poll's option text exactly, between 1 and 32 entries | |
| chat_jid | Yes | WhatsApp JID: individual as `<digits>@s.whatsapp.net` or bare phone digits, group as `<digits>-<timestamp>@g.us` | |
| poll_message_id | Yes | WhatsApp message ID of the poll to vote on (use `ID` returned by send_poll, or `message_id` from list_messages) |