create_rule
Create a new official rules document for a sweepstakes. Use fetch_sweepstakes first to get the sweepstakes_token. LEGAL BYPASS WARNING: This tool publishes a free-form document WITHOUT the legal safeguards of create_rules_wizard (AMOE enforcement, 21+ alcohol gate, COPPA, state eligibility clauses). ALWAYS prefer create_rules_wizard, which generates certified legal templates server-side. Use this tool ONLY when the user already has a complete, professionally reviewed rules document. NEVER compose, draft, or modify the legal language yourself. Require explicit user confirmation before publishing — exactly as with delete_* tools — and confirm the document was prepared or reviewed by the user or their counsel. SECONDARY RULES WARNING: Before creating rules, call fetch_rules to check if the sweepstakes already has primary rules. If primary rules already exist, WARN the user that the new rules will be created as SECONDARY and will NOT be the ones published on the Entry Page or assigned to the short URL (swpp.me/r/[handler]). The short URL always points to the primary rules. The user can change which rules are primary in the Official Rules section of the app. Only proceed after the user acknowledges this.
create_rule
When to use
Create a new official rules document for a sweepstakes. Use fetch_sweepstakes first to get the sweepstakes_token. LEGAL BYPASS WARNING: This tool publishes a free-form document WITHOUT the legal safeguards of create_rules_wizard (AMOE enforcement, 21+ alcohol gate, COPPA, state eligibility clauses). ALWAYS prefer create_rules_wizard, which generates certified legal templates server-side. Use this tool ONLY when the user already has a complete, professionally reviewed rules document. NEVER compose, draft, or modify the legal language yourself. Require explicit user confirmation before publishing — exactly as with delete_* tools — and confirm the document was prepared or reviewed by the user or their counsel. SECONDARY RULES WARNING: Before creating rules, call fetch_rules to check if the sweepstakes already has primary rules. If primary rules already exist, WARN the user that the new rules will be created as SECONDARY and will NOT be the ones published on the Entry Page or assigned to the short URL (swpp.me/r/[handler]). The short URL always points to the primary rules. The user can change which rules are primary in the Official Rules section of the app. Only proceed after the user acknowledges this.
Pre-calls required
fetch_sweepstakesif the user gave you a sweepstakes name instead of a tokenfetch_rules(sweepstakes_token)— if primary rules exist, WARN that the new one will be SECONDARY
Parameters to validate before calling
sweepstakes_token(string, required) — The sweepstakes token (UUID format)title(string, required) — Title of the official rules document (max 100 characters)document_content(string, required) — Full HTML content of the official rules (max 1,000,000 characters)
Notes
Prefer
create_rules_wizardfor legal-grade Official RulesUse this only when you have a fully prepared HTML document and the wizard does not apply
This tool bypasses the wizard safeguards (AMOE, 21+ alcohol gate, COPPA, state eligibility) — require explicit user confirmation before publishing, like delete_* tools, and confirm the document was prepared or reviewed by the user or their counsel
NEVER compose or modify the legal language yourself
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Title of the official rules document (max 100 characters) | |
| document_content | Yes | Full HTML content of the official rules (max 1,000,000 characters) | |
| sweepstakes_token | Yes | The sweepstakes token (UUID format) |