search_my_collection
Search only the cards the user OWNS, by name, colors, or type. Set notInDecks to surface owned cards not currently used in any of their decks (the "what is sitting idle in my binder" question). Use search_cards instead to search every Magic card regardless of ownership. Returns at most 100 owned cards per call, with the full match count in total. Requires a free API key (send it as "X-API-Key: " or "Authorization: Bearer ").
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": "search_my_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | ||
| types | No | ||
| colors | No | ||
| notInDecks | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cards | Yes | ||
| total | Yes |