end_poll
Closes a Discord poll early before its scheduled expiry, allowing the poll creator to stop voting and finalize results on a specific channel message.
Instructions
End a poll early (only the poll creator). [POST /channels/{channel_id}/polls/{message_id}/expire]
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>"
},
"name": "end_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | Channel ID (text, voice, thread, forum or DM channel) | |
| message_id | Yes | Message ID |