vote_in_poll
Cast or remove your vote in a Discord poll by specifying channel, message, and 1-based answer IDs; use an empty list to remove your vote.
Instructions
Vote in a poll: answer_ids are the 1-based answer numbers. An empty list removes your vote. [PUT /channels/{channel_id}/polls/{message_id}/answers/@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": {
"channel_id": "<channel_id>",
"message_id": "<message_id>",
"answer_ids": "<answer_ids>"
},
"name": "vote_in_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answer_ids | Yes | Answer IDs, e.g. ["1"] (empty removes your vote) | |
| channel_id | Yes | Channel ID (text, voice, thread, forum or DM channel) | |
| message_id | Yes | Message ID |