Claim from collection
claim_from_collectionAuto-match a deck's wants against the collection: free copies become non-shared staged allocations (real cards preferred over proxies). allow_shared:true additionally covers remaining needs with copies already allocated to OTHER decks, as explicitly shared allocations. Returns claimed / shared / missing. ALWAYS relay the shared list (with the other decks) and the missing list to the user. Every proxy it claims, owned or borrowed, is named in proxies_claimed (each claimed and shared entry carries is_proxy); proxy_warning, when not null, is one sentence: relay it to the user word for word. Claiming moves no real card: once the user has physically built the deck, sleeve_deck moves the claimed cards into it. On a tournament deck (deck.play) only real copies are claimed. They fill empty slots first, and each one past them releases one of the card's proxies (proxies_replaced, released: relay them). A released proxy that was sleeved is recorded back in "Unsorted": tell the user to take it out of the deck box and sleeve the real copy. This powers the "import deck → pull what I have → tell me what I lack" workflow.
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": {
"deck": "<deck>"
},
"name": "claim_from_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | Yes | Deck id or name | |
| allow_shared | No | Default false |