world-item-filter
Search the world's Items Directory (game.items) with D&D 5e structured filters (dnd5e worlds only). Returns paginated {id, name} entries; world-item-get gives full data. Filters combine with AND, values inside one array with OR. NOT an actor's inventory (item-list), NOT compendiums (dnd5e-compendium-filter-items).
CRITICAL DATA FORMATS
Ranges are {min?, max?}, inclusive. Items lacking a filtered field are excluded (rarity + spellLevel matches only rare spells).
The response has total and hasMore.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Substring of item name, case-insensitive. | |
| type | No | Item types (OR). | |
| limit | No | Page size 1..200, default 50. | |
| price | No | Price range in gp. | |
| folder | No | Folder by id or name; recursive includes subfolders. | |
| offset | No | Skip first N results. | |
| rarity | No | Rarity (OR), camelCase: veryRare. | |
| weight | No | Weight range in lb. | |
| identified | No | Filter by the identified flag. | |
| spellLevel | No | Spell level 0..9 (0 = cantrip); spells only. | |
| isContainer | No | Only containers. | |
| spellSchool | No | Spell schools (OR), full words; spells only. | |
| hasActivities | No | Only items with usable activities. | |
| requiresAttunement | No | Only items that require attunement. |