create_group
Create a new group within a sweepstakes. Use fetch_sweepstakes first to get the sweepstakes_token. Groups are used to organize and segment participants.
create_group
When to use
Create a new group within a sweepstakes. Use fetch_sweepstakes first to get the sweepstakes_token. Groups are used to organize and segment participants.
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)
group_name (string, required) — The name of the group (must be unique within the sweepstakes)
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>",
"group_name": "<group_name>"
},
"name": "create_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_name | Yes | The name of the group (must be unique within the sweepstakes) | |
| sweepstakes_token | Yes | The sweepstakes token (UUID format) |