Match tradelist
match_tradelistWhat the CURRENT user could GET from another player: the cards in that player's tradelist that the user's decks or personal wantlist still miss. Takes their tradelist link (URL or bare token) or their handle ("@name": every tradelist they published). Each match says you_need, they_offer, wanted_by (the user's deck names, or "Personal wantlist") and copies[] with printing, finish, condition, language and unit_price in currency (default USD). A want that pins a printing matches that printing only. A proxy is never offered: the answer holds real cards only, and its proxy fields are always zero. copies[].breaks_decks names the other player's decks that claim or share the copy: say "trading this breaks their deck ". A row's lang is the language the user's list asks 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": {
"link": "<link>"
},
"name": "match_tradelist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | 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 get from the other player's tradelist |