search-compendium-items
Search D&D 5e premium items by name, rarity, subtype, properties, and magical status. Excludes SRD content. Returns ranked results with ID, name, type, pack info, and facets.
Instructions
D&D 5e ITEM/GEAR DISCOVERY: find equipment, weapons, armor, consumables, and treasure matching faceted criteria (rarity, subtype, properties, magical, 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 item 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. Use documentType to narrow the item family (gear=all, or weapon/armor/consumable).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Case-insensitive substring to narrow by item name (e.g., "flame", "healing"). | |
| limit | No | Maximum results to return (default: 50, max: 200) | |
| rarity | No | Rarity/-ies: common · uncommon · rare · very rare · legendary · artifact (case- and space-insensitive; one value or an array). | |
| magical | No | If true, keep only items flagged magical (the "mgc" property). | |
| itemType | No | dnd5e item SUBTYPE key (system.type.value), e.g. "wand" · "wondrous" · "rod" · "ring" · "potion" · "scroll" · "ammo"; for weapons the weapon-type key (e.g. "martialM"). One value or an array. | |
| properties | No | Keep items carrying ANY of these dnd5e property keys (e.g. "mgc" = magical, "fin" = finesse, "ver" = versatile). | |
| documentType | No | Item family to search: "gear" = everything (weapons, armor/equipment, consumables, tools, loot, containers); or narrow to "weapon", "armor", or "consumable". | gear |