Offer swap
offer_swapPropose a swap to a FRIEND in the trade circle, from match_circle's rows with that friend: send picks rows of you_send and get rows of you_get, each by card name and count (a card with several rows: narrow with printing and lang, as the row shows them). Copies go as the match deals them: free ones first, then a deck's copy, never a proxy. Nothing outside the match can be added. add_to names, for a card the user GETS, the deck of theirs that claims it once the swap is approved: only on the user's say-so, never by default. Nothing moves until the friend approves; it expires after 14 days, and the user can withdraw it (answer_swap). Before calling, show the user both sides, their values, and every deck of theirs a copy they send breaks (breaks_decks in match_circle), and ask. The answer is the swap as my_swaps shows it.
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": {
"with": "<with>"
},
"name": "offer_swap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| get | No | Rows of you_get to receive, with counts | |
| send | No | Rows of you_send to send, with counts | |
| with | Yes | The friend's handle, with its @ | |
| add_to | No | Cards the user gets that a deck of theirs claims on the yes, as the user ticked them |