scryfall_search
Search Magic: The Gathering cards with Scryfall syntax to find cards by name, rules text, set, rarity, legality, price, language, art or Oracle tags; return clean JSON or CSV.
Instructions
Search Scryfall cards. Find Magic cards using Scryfall syntax for names, rules text, set types, rarities, legality, prices, languages, art tags, or Oracle tags. Combine q with uniqueness, sorting, inclusion switches, and page. JSON returns cards and paging fields. CSV returns text for the selected page.
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": {
"q": "<q>"
},
"name": "scryfall_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Scryfall search expression up to 1,000 characters | |
| dir | No | Sort direction | |
| page | No | Page number starting at 1 | |
| order | No | Sort field | |
| format | No | Return card list JSON or CSV text | |
| pretty | No | Indent the JSON response | |
| unique | No | Result deduplication mode | |
| include_extras | No | Include extra card types such as tokens and emblems | |
| include_variations | No | Include rare print variations | |
| include_multilingual | No | Include cards printed in all languages |