Answer swap
answer_swapAnswer a swap: approve or decline one proposed to the current user, or withdraw one they proposed. Approve moves cards in both collections at once: each copy given leaves its owner (the claims it no longer fits released, and named), each copy received lands in Unsorted as a trade. Without confirm: true, approve is a dry run: show the user what they give, receive and what would_release names, and ask before confirming. add_to ticks, for a card the user receives, the deck of theirs that claims it: only on the user's say-so. Refused, with nothing moved, when a copy is gone or changed since the proposal. Decline and withdraw move nothing.
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": {
"swap_id": "<swap_id>",
"answer": "<answer>"
},
"name": "answer_swap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add_to | No | ||
| answer | Yes | ||
| confirm | No | approve only: true to move the cards; without it nothing moves | |
| swap_id | Yes |