search_cards
Search Magic: The Gathering cards using Scryfall's full-text syntax to find specific cards based on type, cost, color, and other attributes.
Instructions
Search cards using Scryfall's powerful full-text syntax.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
dir | No | ||
include_extras | No | ||
include_multilingual | No | ||
include_variations | No | ||
order | No | ||
page | No | ||
q | Yes | Scryfall search query, e.g., 't:creature cmc<=3' | |
unique | No |
Input Schema (JSON Schema)
{
"properties": {
"dir": {
"enum": [
"auto",
"asc",
"desc"
],
"type": "string"
},
"include_extras": {
"type": "boolean"
},
"include_multilingual": {
"type": "boolean"
},
"include_variations": {
"type": "boolean"
},
"order": {
"enum": [
"name",
"set",
"released",
"rarity",
"color",
"usd",
"tix",
"eur",
"cmc",
"power",
"toughness",
"edhrec",
"penny",
"artist",
"review"
],
"type": "string"
},
"page": {
"minimum": 1,
"type": "integer"
},
"q": {
"description": "Scryfall search query, e.g., 't:creature cmc<=3'",
"type": "string"
},
"unique": {
"enum": [
"cards",
"art",
"prints"
],
"type": "string"
}
},
"required": [
"q"
],
"type": "object"
}