search-compendium-spells
Search D&D 5e spells from premium book packs by level, school, damage type, or name. Filters use real compendium data, excluding SRD spells.
Instructions
D&D 5e SPELL DISCOVERY: find spells matching faceted criteria (level, school, damage type, name) across the premium book packs only — the SRD (dnd5e.*) packs are excluded and never appear in results (design.md §2.3). Backed by the system Compendium Browser, so filters check real spell data (not name heuristics). Returns minimal hits ({id,name,type,uuid,pack,packLabel,img,facets}) premium-first ranked — identify candidates here, then pull full detail with get-compendium-entry. damageType is a two-stage refine (loads candidate spells to inspect their activities).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Case-insensitive substring to narrow by spell name (e.g., "fire", "cure wounds"). | |
| limit | No | Maximum results to return (default: 50, max: 200) | |
| damageType | No | Keep only spells that deal this damage type (e.g., "fire", "cold", "radiant"). Two-stage: candidate spells are loaded to inspect their activities, so this narrows an already facet-filtered set. | |
| spellLevel | No | Filter by spell level — exact number (0 = cantrip … 9) or a {"min","max"} range for surveys. | |
| spellSchool | No | Spell school(s): abjuration · conjuration · divination · enchantment · evocation · illusion · necromancy · transmutation (full name or dnd5e 3-letter key; one value or an array). |