Add holdings
add_holdingsAdd physical cards to the collection (bulk). Each item is a card reference (scryfall_id, or name [+ set_code, collector_number]) plus holding attributes. quantity ≥ 1 identical copies form one stack. Defaults: finish nonfoil, condition NM, lang en, origin "single", location "Unsorted" (created if missing; any unknown location name is auto-created). purchase_price is PER CARD in purchase_currency (USD/EUR/CHF). Unresolvable names are returned under "unresolved", the rest are added. A set_code (and collector_number) names one printing: an item whose card is not there comes back under "unresolved", naming the nearest printing. The list is added in one write: an item the collection refuses (an origin printed_proxy or bought_proxy with is_proxy false, a blank location) refuses the whole call and nothing is added. A name that is no card's exact name was added as Scryfall's closest match, and a name in another language as its English card: each is listed under "inexact" with the card it became (matched_by fuzzy or other_language). Tell the user which card was added for each fuzzy one. From a photo of cards, every name, set and finish is your own reading: list them and get the user's yes before adding.
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": {
"items": "<items>"
},
"name": "add_holdings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Max 75 items per call (Scryfall batch limit). Send the whole list in one call: it is resolved in one batch. |