search_sets
Find Magic: The Gathering sets by name, type, or release date using partial matches and optional filters for precise results.
Instructions
Search for Magic: The Gathering sets with optional filtering by name, type, and release dates
Input Schema
Name | Required | Description | Default |
---|---|---|---|
query | No | Set name or code to search for (partial matches supported) | |
released_after | No | ISO date string - only show sets released after this date (YYYY-MM-DD) | |
released_before | No | ISO date string - only show sets released before this date (YYYY-MM-DD) | |
type | No | Filter by set type. Common types: core (yearly core sets), expansion (rotational sets), masters (reprint sets), commander (preconstructed Commander decks), promo (promotional cards), token (tokens and emblems) |
Input Schema (JSON Schema)
{
"properties": {
"query": {
"description": "Set name or code to search for (partial matches supported)",
"type": "string"
},
"released_after": {
"description": "ISO date string - only show sets released after this date (YYYY-MM-DD)",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"released_before": {
"description": "ISO date string - only show sets released before this date (YYYY-MM-DD)",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"type": {
"description": "Filter by set type. Common types: core (yearly core sets), expansion (rotational sets), masters (reprint sets), commander (preconstructed Commander decks), promo (promotional cards), token (tokens and emblems)",
"enum": [
"core",
"expansion",
"masters",
"alchemy",
"masterpiece",
"arsenal",
"from_the_vault",
"spellbook",
"premium_deck",
"duel_deck",
"draft_innovation",
"treasure_chest",
"commander",
"planechase",
"archenemy",
"vanguard",
"funny",
"starter",
"box",
"promo",
"token",
"memorabilia",
"minigame"
],
"type": "string"
}
},
"required": [],
"type": "object"
}