build_scryfall_query
Transform natural language requests into tailored Scryfall search queries for Magic: The Gathering cards. Optimize results by format, budget, or strategy, with explanations and alternative suggestions.
Instructions
Convert natural language requests into optimized Scryfall search queries with explanations and alternatives
Input Schema
Name | Required | Description | Default |
---|---|---|---|
explain_mapping | No | Whether to include detailed explanation of natural language to Scryfall mapping | |
format | No | Magic format to restrict search to (optional) | |
include_alternatives | No | Whether to include alternative query suggestions | |
max_results | No | Target number of results for optimization | |
natural_query | Yes | Natural language description of what you want to find (e.g., "red creatures under $5 for aggressive decks", "blue counterspells in modern") | |
optimize_for | No | Search optimization strategy: precision (fewer, more relevant results), recall (broader search), discovery (interesting cards), budget (cost-effective) | precision |
price_budget | No | Price constraints for the search | |
test_query | No | Whether to test the generated query and optimize based on results |