update_bonus_entries
Update the bonus entries value for a participant in a sweepstakes. This overwrites the current value. Use get_participant first to check current bonus entries.
update_bonus_entries
When to use
Update the bonus entries value for a participant in a sweepstakes. This overwrites the current value. Use get_participant first to check current bonus entries.
Pre-calls required
fetch_sweepstakes if the user gave you a sweepstakes name instead of a token
Parameters to validate before calling
sweepstakes_token (string, required) — The sweepstakes token (UUID format)
participant_token (string, required) — The participant token (UUID format)
bonus_entries (integer, required) — range: 0–1000000 — New bonus entries value (0-1000000). This overwrites the current value.
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": {
"sweepstakes_token": "<sweepstakes_token>",
"participant_token": "<participant_token>",
"bonus_entries": "<bonus_entries>"
},
"name": "update_bonus_entries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bonus_entries | Yes | New bonus entries value (0-1000000). This overwrites the current value. | |
| participant_token | Yes | The participant token (UUID format) | |
| sweepstakes_token | Yes | The sweepstakes token (UUID format) |