Finish draw
finish_giveaway_drawFinish a giveaway draw and select winners from submitted participants, closing the promotion with final results.
Instructions
Rate limit: 100 requests / 10 seconds per shop. See Rate limiting.
Finish draw and select winners
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": {
"id": "<id>"
},
"name": "finish_giveaway_draw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Native id | |
| account | No | Exact private shop profile label; not a provider identity or authorization proof. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| payload | No | Complete current native JSON body; cannot mix with native body flags or payload_file. | |
| participants | No | ||
| payload_file | No | Absolute regular non-symlink native JSON body file, at most1MiB. Cannot mix with payload or body flags. |