Card detail
card_detailEverything about one card: oracle data (mana cost, type line, rules text, color identity, legalities — the map includes paupercommander (Pauper EDH: whether the card may sit in the 99) and duel (Duel Commander); card.pdh_commander separately flags cards that can LEAD a Pauper EDH deck, i.e. printed at uncommon with a creature/Vehicle/Spacecraft front face — legendary is NOT required in PDH), the focused printing (set, collector number, rarity, finishes, USD/EUR prices), EVERY printing across all sets with the user's per-printing ownership (qty_real / qty_real_foil / qty_proxy; set_digital=1 marks MTGO/Arena-only printings), and the user's holdings of any printing with physical location and deck allocations. Answers "do I own this card, and in which printings?" — use it before suggesting a purchase. card.rulings: the card's official rulings (published_at, source "wotc" = Wizards of the Coast or "scryfall", comment), from Scryfall's rulings file as of the catalogue's last load; quote them when asked how the card works, or how it works with another card. Reference by scryfall_id, by name (+ optional set_code/collector_number), or by oracle_id (the newest printing becomes the focus). A first lookup may read the card's printings and prices live from Scryfall (card data kept in the shared catalogue for 7 days; nothing in the user's account changes). DISCLOSURE: qty_proxy copies are proxies — physically present but never counted as owned; holdings with shared=true allocations must be relayed as "also allocated to …". Before the user signs in, it answers from the catalogue alone with signed_in: false: no qty_* fields, holdings or totals, so say nothing about what they own, and a card newer than the catalogue is not found until they sign in.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "card_detail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Card name in English or any language Scryfall prints ("Blitzschlag", "Foudre", "稲妻"), used when scryfall_id is absent; an English name is also fuzzy-resolved via Scryfall | |
| currency | No | Display currency. USD/EUR come from Scryfall; CHF is always EUR × the stored ECB rate. A response that carries `rate_missing` could not price in CHF at all: tell the user that, not that the cards have no price. | |
| set_code | No | Set code, e.g. "2xm" | |
| oracle_id | No | Oracle id shared by all printings — use when no specific printing is meant | |
| scryfall_id | No | Exact Scryfall printing id, if known | |
| collector_number | No | Collector number within the set |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | Yes | ||
| totals | No | Absent before sign-in | |
| currency | Yes | ||
| holdings | No | The player's stacks of any printing. Absent before sign-in | |
| printing | Yes | The printing asked about, or the newest | |
| printings | Yes | Every printing, newest set first, each with what the player owns of it | |
| signed_in | No | Present, false, when the user has not signed in: the answer holds no copies, holdings or totals, so say nothing about what they own |