send_poll
Send a WhatsApp poll with up to 32 options. Recipients see a votable card and can select multiple choices if configured.
Instructions
Send a new WhatsApp poll message with 2 to 32 options; recipients see a votable poll card and an outgoing row plus poll metadata is persisted locally so votes can be tallied. Reversible via delete_message (revoke). Use send_poll_vote to cast votes and get_poll_results to read tallies. Returns a JSON object {Success, Message, ID} where ID is the poll message ID on success.
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": {
"recipient": "<recipient>",
"question": "<question>",
"options": "<options>"
},
"name": "send_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | Yes | poll option labels; must contain between 2 and 32 entries | |
| question | Yes | poll question text shown above the options | |
| recipient | Yes | Send target: digits only (E.164 without `+`, no spaces or punctuation); or `<digits>@s.whatsapp.net`; or group `<digits>-<timestamp>@g.us` | |
| selectable_count | No | how many options each voter may pick; 1 = single-choice (default), higher = multi-select up to this cap |