aggregate_cards
Group Disney Lorcana cards by cost, rarity, color, set, or type to return counts for deck building, ink curves, and set or rarity 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.
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": {
"field": "<field>"
},
"name": "aggregate_cards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |