mtg_search_cards
Search Magic: The Gathering cards by name, color, type, set, or rarity to find specific cards and narrow results with filters.
Instructions
Search Magic: The Gathering cards by name, color, type, set, or rarity.
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": "mtg_search_cards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | No | Set code (e.g. LEA, M21). | |
| name | No | Card name to search. | |
| type | No | Card type (e.g. Instant, Creature, Sorcery). | |
| limit | No | Max results (default 10). | |
| colors | No | Color filter (W, U, B, R, G or combinations). | |
| rarity | No | Rarity: common, uncommon, rare, mythic. |