aggregate_cards
Group Disney Lorcana cards by cost, rarity, color, set, or type to return card counts for statistical analysis.
Instructions
Return card counts grouped by a field. Valid fields: cost (ink curve), rarity, color, set_code, type. Examples: aggregate_cards('cost') for the ink curve, aggregate_cards('color') for color breakdown, aggregate_cards('rarity') for rarity breakdown, aggregate_cards('set_code') for set distribution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |