Edit a giveaway
edit_giveawayUse this when the user wants to change a running giveaway: prize, description, end, number of winners, conditions, claim time or automatic reroll. Do not use for ending or cancelling it; use end_giveaway or cancel_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>"
},
"name": "edit_giveaway"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bonus | No | Extra chances. | |
| ends_at | No | New end, ISO 8601 with offset. | |
| winners | No | 1 to 20. | |
| duration | No | New end, from now: 30m, 12h or 3d. | |
| giveaway | No | The giveaway title (or the only one running). | |
| guild_id | Yes | Discord server ID, as returned by list_my_servers. | |
| new_prize | No | New prize. | |
| conditions | No | Entry requirements. | |
| 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 | New description. |