polls_get_voters
Lists users who voted for a specific answer in a Discord poll, using channel, message, and answer IDs, with optional cursor pagination.
Instructions
Purpose: List users who voted for a specific answer on a poll.
Path: /channels/{channel.id}/polls/{message.id}/answers/{answer_id}. answer_id is a poll-local integer (NOT a snowflake).
Returns: {voters:[{id, username}], count, untrusted_text}. Usernames remain raw Discord data; untrusted_text provides a separately fenced copy.
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": {
"channel_id": "<channel_id>",
"message_id": "<message_id>",
"answer_id": "<answer_id>"
},
"name": "polls_get_voters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Cursor: only voters with id > this | |
| limit | No | Max voters to return (1..100, default 25) | |
| answer_id | Yes | Poll answer ID (integer, not snowflake) | |
| channel_id | Yes | Channel containing the poll message | |
| message_id | Yes | Poll message ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||