Show what to buy
show_buylistUse this when the user asks what to buy for a deck (id or name), or for all decks (omit deck), and a table helps: missing cards with count, cheapest non-foil printing and unit price, a total in currency (default USD) and the plain "4 Card Name" list. Reads the same data as generate_buylist and changes nothing; run claim_from_collection first or owned copies still count as coverable. Give unpriced_items with the total, and relay rate_missing when present: it means no CHF price could be given at all.
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": "show_buylist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | No | Deck id or name; omit for all decks combined | |
| 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 | Null: every deck | |
| note | Yes | ||
| text | Yes | ||
| view | Yes | ||
| cards | Yes | ||
| items | Yes | ||
| currency | Yes | ||
| more_items | Yes | Items counted and not listed | |
| rate_missing | No | Present when CHF was asked and no CHF rate is stored: no CHF price could be given at all, the cards are not unpriced. Relay it. | |
| unpriced_items | Yes | ||
| total_estimated | Yes | Leaves out unpriced_items: give that count with the total |