My swaps
my_swapsThe current user's swaps with friends: waiting_for_you (proposed to the user: approve or decline with answer_swap), waiting_for_friend (proposed by the user: they may withdraw it), and answered in the last 30 days. Each swap: you_give and you_receive with cards, value in currency (default USD) and lines. Disclosure duties: name every deck of the user's a copy they give breaks (lines[].breaks_decks), and on an open swap every claim the yes would release (lines[].would_release). The friend's deck names are never shown. An open swap past expires_at reads expired.
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": "my_swaps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |
|---|---|---|---|
| note | Yes | ||
| answered | Yes | Approved, declined, withdrawn or expired, the last 30 days | |
| currency | Yes | ||
| waiting_for_you | Yes | Proposed to the user: approve or decline (answer_swap) | |
| waiting_for_friend | Yes | Proposed by the user: the friend answers; the user may withdraw |