create_poll
Create interactive polls with buttons in Discord channels. Set questions, multiple options, duration, and allow single or multiple choices.
Instructions
Crée un sondage interactif avec boutons
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": {
"channelId": "<channelId>",
"question": "<question>",
"options": "<options>"
},
"name": "create_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channelId | Yes | ID du canal | |
| question | Yes | Question du sondage | |
| options | Yes | Options de réponse | |
| duration | No | Durée en minutes (optionnel) | |
| allowMultiple | No | Autoriser plusieurs choix |