search_cards
Search the Yu-Gi-Oh card pool for format-legal cards by text, name, archetype, type, attribute, stats, or Genesys points.
Instructions
Search the card pool. Only cards legal in format are returned unless include_illegal.
text: words that must all appear in the card text (or FTS5 syntax: "special summon" AND deck NOT banish) pattern: Python regex over card text, e.g. "Level 4 or lower .*Warrior" name: substring of the name; archetype: name contains it (case-sensitive game rule, e.g. "Destiny HERO") mentions: cards whose text names this in quotes, e.g. "HERO" or "Destiny HERO - Malicious" kind: monster, extra, main, tuner, fusion, synchro, xyz, link, ritual, pendulum, effect, normal, flip, spell, trap, quick-play, continuous spell, field, equip, ritual spell, normal trap, continuous trap, counter attribute: DARK, LIGHT, ...; race: Warrior, Spellcaster, ...; level_min/max: Level, Rank or Link rating max_points: Genesys points per copy at most this Card text is cut to 400 characters unless full_text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| name | No | ||
| race | No | ||
| text | No | ||
| limit | No | ||
| format | Yes | ||
| atk_max | No | ||
| def_max | No | ||
| pattern | No | ||
| mentions | No | ||
| archetype | No | ||
| attribute | No | ||
| full_text | No | ||
| level_max | No | ||
| level_min | No | ||
| max_points | No | ||
| include_illegal | No |