get_code_settings
Read how a sweepstakes hands out codes on its entry and AMOE pages, and what participants are shown and sent. Never writes. Call this before update_code_settings so you change only what the user asked and can tell them the current values. Read-only and NOT gated by the Codes & Coupons module: only the writes of this category document a module-not-enabled 403. If this call returns 403, look for another cause before telling the user the module is off.
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": "get_code_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sweepstakes_token | Yes | The sweepstakes token (UUID v4) of a sweepstakes of your account |