fetch_rules
Get all official rules for a sweepstakes including primary and secondary rules. Use fetch_sweepstakes first to get the sweepstakes_token.
fetch_rules
When to use
Get all official rules for a sweepstakes including primary and secondary rules. Use fetch_sweepstakes first to get the sweepstakes_token.
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 to fetch rules from (UUID format)
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>"
},
"name": "fetch_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sweepstakes_token | Yes | The sweepstakes token to fetch rules from (UUID format) |