Match wantlist
match_wantlistWhat the CURRENT user could SEND another player: that player's missing cards against the current user's copies. Takes their shared wantlist or deck link (a /s/ or /w/ URL, or the bare token) or their handle ("@name": every wantlist they published). Free copies come first; where they run out, copies a deck of the user claims are offered too, after them. Each match has copies[]: printing, finish, condition, where it physically is, unit_price in currency (default USD; null = no price known, and unpriced_quantity says how many copies a row's value leaves out). A proxy is never offered: the answer holds real cards only, and its proxy fields are always zero. includes_shared / copies[].shared_with name decks of the user that SHARE that stack. copies[].breaks_decks names EVERY deck of the user that claims or shares the copy: for each, say "trading this card breaks your deck " before any trade talk. A row's lang is the language the other player asked for; copies[].other_language marks a copy in another language: say "not the language asked for".
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": {
"token": "<token>"
},
"name": "match_wantlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Full share URL, bare token, or a handle written with its @ | |
| 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 |
|---|---|---|---|
| total | Yes | ||
| matches | Yes | What the user could send: free copies first, then copies a deck of the user's claims (named in breaks_decks); never a proxy |