fetch_groups
Get all groups from a sweepstakes. Use fetch_sweepstakes first to get the sweepstakes_token. Groups are used to organize and segment participants. Use them internally for tool chaining but present only human-readable information (group names, statuses).
fetch_groups
When to use
Get all groups from a sweepstakes. Use fetch_sweepstakes first to get the sweepstakes_token. Groups are used to organize and segment participants. Use them internally for tool chaining but present only human-readable information (group names, statuses).
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)
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_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sweepstakes_token | Yes | The sweepstakes token (UUID format) |