get_poll_results
Shows the results of a WhatsApp poll in any chat, groups included: each option with its number of votes and who voted for it. Paid plan (the vote counts in read_chat_history are on every plan). Pass the poll's id from read_chat_history (a "[poll] …" line; received polls aren't found by search_messages). Use it for questions like "who voted for Friday?" or "who hasn't answered the poll?" (compare the voters with the group's members). A person's latest vote counts; a withdrawn vote counts for nobody. Some votes can't be read (the result's note says which), so the count may be lower than on the phone: say so when it matters. Returns { message_id, chat_jid, question, allow_multiple, voters_total, options: [{ name, count, voters }], includes_votes_from_before_link, note }: each voter has the contact fields (name; name_source: address_book, push_name, group_subject, business, phone or unresolved; canonical_jid: the JID to pass to send_message and read_chat_history; phone_jid and lid_jid: the chat's phone-number and LID forms, null when unknown or for groups; phone_display: the number as +). The user's own vote shows as name "Me".
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": {
"message_id": "<message_id>"
},
"name": "get_poll_results"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | The poll message's `id`, as read_chat_history shows it. |