Combos in a deck
deck_combosThe combos in a deck (id or name), any format, from Commander Spellbook's combo database (a copy refreshed with the card catalogue, not a live search). in_list: combos the deck's main list holds whole, most played first (up to 30; in_list_total says how many, counted among the 400 most played candidates read). one_card_away: combos the list misses one card of, most played first (up to 20; more_one_card_away when there are more), that card legal in the deck's format, in its colour identity and not in the deck: missing.have "owned" = the user owns a free copy (say proxies beside it when > 0, and name every deck in shared_with: those copies are borrowed), "to_buy" = its cheapest priced non-foil printing in currency (default USD; null when none is priced yet), and when owned_claimed > 0 name the decks in claimed_by that hold the user's copies. Each combo: its cards (must_be_commander: it works only from the command zone, so it counts only when that card leads the deck), produces (what it makes), requires (a kind of card it also needs, any one), prerequisites (the board it starts from), mana_needed, steps, notes, and url, its page on Commander Spellbook. Whenever you show a combo, credit Commander Spellbook by name with the link in source. known false: the combos are not loaded yet. Spellbook lists combos as written; check a combo's steps against the cards' text and rulings (card_detail) before you vouch for it. Changes nothing.
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": {
"deck": "<deck>"
},
"name": "deck_combos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | Yes | Deck id or name | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | Yes | ||
| known | Yes | False: the combos are not loaded yet | |
| source | Yes | Commander Spellbook: credit it by name with this link whenever a combo shows | |
| in_list | Yes | ||
| in_list_total | Yes | ||
| one_card_away | Yes | ||
| more_one_card_away | Yes |