Start a giveaway
start_giveawayUse this when the user wants a new giveaway posted in a channel. Do not use for changing a running one; use edit_giveaway. Adds the change to the pending card for this server; nothing changes on Discord until apply_card.
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": {
"guild_id": "<guild_id>",
"channel": "<channel>",
"prize": "<prize>",
"duration": "<duration>"
},
"name": "start_giveaway"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bonus | No | Extra chances. | |
| prize | Yes | The prize. | |
| channel | Yes | The channel name. | |
| winners | No | 1 to 20, 1 by default. | |
| duration | Yes | 30m, 12h or 3d (5 minutes to 30 days). | |
| guild_id | Yes | Discord server ID, as returned by list_my_servers. | |
| conditions | No | Entry requirements. | |
| dm_winners | No | Direct message to winners (true by default). | |
| publish_at | No | Post later: ISO 8601 with offset, 60 days at most. | |
| auto_reroll | No | Draw again when a prize is not claimed. | |
| claim_hours | No | Hours winners have to claim (0: nothing to claim). | |
| description | No | Description. | |
| mention_role | No | Role mentioned in the announcement (a role with more than 50 members: the card must then be confirmed on aiguild.me). | |
| announce_winners | No | Congratulate winners in the channel (true by default). |