tcg_collection_set_completion
Calculate Pokemon TCG set completion progress, including owned, watchlist, and missing cards with total cost to fill gaps.
Instructions
Compute set-completion progress for a Pokemon TCG set.
For each card in the set (optionally filtered by rarity):
Owned? Match owned_cards either by attached
pricing_listing_idequal to the catalog card'sid(precise), or as a fallback by case-insensitive subject match + card_number exact match.Watchlist hit? Cross-reference
watchlist.card_descriptorfor substring matches against the card name + set name.Missing? Sum current Pokemon TCG API market price for the gap.
Returns owned/missing counts, completion percentage, gap cost in USD, and per-card breakdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |