what_am_i_missing
Compare a deck list to your collection to find missing cards and estimate the cost to complete it.
Instructions
Compare a deck list against your collection: what you own, what's missing, and the estimated cost to complete it.
Cross-references a raw deck list (same format as analyze_deck: 4x Card Name per line) against an enriched collection CSV. For every card you're
short on, first checks the CSV's own TCG Market Price (you already own at
least one printing, so it's already there — no network needed). Only cards
you own zero copies of fall back to a live TCGPlayer lookup via tcgcsv.com
(cheapest printing across all sets/rarities — gameplay is identical
regardless of rarity or art). That fallback fetch only happens if at least
one card actually needs it, and its price data is cached 24h.
Args: deck_list: Raw deck list text, one card per line (e.g. "4x Goofy - Musketeer"). collection_csv: Absolute path to an enriched Lorcana collection CSV.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck_list | Yes | ||
| collection_csv | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |