search_cards
Find cards by NAME or by structured filters (colors, color identity, types, mana value, format legality, sets). Use when the query can be expressed as filters: "red instants under 3 mana", "legendary artifacts in Standard", "cards named Bolt". Use semantic_card_search instead when the user describes an EFFECT rather than a filter ("cards that make a treasure when I attack"). Use find_synergies instead when they name cards they already have and want things that pair with them. Searches every Magic card; use search_my_collection to search only what the user owns. limit defaults to 25 and caps at 100 per call.
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_cards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| sets | No | ||
| limit | No | ||
| types | No | ||
| colors | No | ||
| format | No | ||
| supertypes | No | ||
| manaValueMax | No | ||
| manaValueMin | No | ||
| colorIdentity | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cards | Yes |