Create a giveaway
create_giveawayDraft a hosted giveaway: prize, dates, draw, entry page, bonus entries and official rules. It starts as a draft with a preview link. A signed-in person approves it at dashboardUrl before it goes live; send them that link.
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": {
"brandId": "<brandId>",
"name": "<name>",
"opensAt": "<opensAt>",
"closesAt": "<closesAt>"
},
"name": "create_giveaway"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The giveaway's name, shown as its title. | |
| rules | No | The official rules. sponsorCountry and countries default to the brand's own country. A person approves them before the giveaway goes live. | |
| prizes | No | One prize per place for placed draws; otherwise the first prize goes to every winner. | |
| brandId | Yes | Brand ID, the project that runs the giveaway. | |
| opensAt | Yes | When entries open, as an ISO 8601 time. | |
| closesAt | Yes | When entries close, as an ISO 8601 time. Must be after opensAt. | |
| language | No | The language entrants see: en or es. Left out, the language of the brand's country, else en. | |
| timezone | No | The time zone the official rules and dashboard use, e.g. Europe/London. Left out, the brand's own: from its site's country domain, then its saved zone. | |
| entryPage | No | The hosted entry page's headline, description, image, brand color and bonuses. | |
| drawMethod | No | single: one winner. multiple: equal winners. placed: 1st, 2nd, 3rd… | single |
| winnerCount | No | How many winners to draw. |