wa_poll_vote
Cast an end-to-end encrypted vote on a WhatsApp poll. Validates selected options against the poll and encrypts the vote exactly as WhatsApp expects.
Instructions
Cast an E2EE vote on a poll (multi-select respected). Finds the poll in the store, validates options, encrypts the vote exactly the way WhatsApp expects.
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>",
"message_id": "<message_id>",
"options": "<options>"
},
"name": "wa_poll_vote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | Chat the poll is in | |
| options | Yes | Option name(s) to select — must match the poll options exactly | |
| message_id | Yes | Poll message id (from wa_poll_list or wa_read_messages) |