search_by_format
Search Magic: The Gathering cards by format legality, filtering by status and colors to find playable cards for specific game formats.
Instructions
Find cards by legality in a given format.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
colors | No | ||
format | Yes | ||
page | No | ||
status | No | legal |
Input Schema (JSON Schema)
{
"properties": {
"colors": {
"items": {
"enum": [
"W",
"U",
"B",
"R",
"G"
],
"type": "string"
},
"maxItems": 5,
"minItems": 0,
"type": "array"
},
"format": {
"enum": [
"standard",
"pioneer",
"modern",
"legacy",
"vintage",
"commander",
"oathbreaker",
"pauper",
"paupercommander",
"historic",
"timeless",
"alchemy",
"brawl",
"duel",
"predh"
],
"type": "string"
},
"page": {
"minimum": 1,
"type": "integer"
},
"status": {
"default": "legal",
"enum": [
"legal",
"banned",
"restricted"
],
"type": "string"
}
},
"required": [
"format"
],
"type": "object"
}