search_cards
Find Magic: The Gathering cards by entering a text query, such as 'oracle text includes: draw cards', and receive matching results with name, set, collector number, and ID. Uses Scryfall API for accurate searches.
Instructions
Search for MTG cards by a text query, e.g. 'oracle text includes: draw cards'. Returns a list of matching cards (with basic fields: name, set, collector_number, ID). If no matches are found, returns an error message from Scryfall.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
query | Yes | A full text query, e.g. 't:goblin pow=2 o:haste' |
Input Schema (JSON Schema)
{
"properties": {
"query": {
"description": "A full text query, e.g. 't:goblin pow=2 o:haste'",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}