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; call world-item-get for full data. Filters combine with AND, values inside one array with OR. NOT for an actor's inventory (use item-list) and NOT for compendiums (use dnd5e-compendium-filter-items).
CRITICAL DATA FORMATS
rarity is camelCase: veryRare (not "very rare", "epic" or "mythic"). spellSchool is the full word (evocation, not "evo").
Weight in lb, price in gp (currencies normalized on read). spellLevel 0..9 (0 = cantrip), spells only.
Ranges are {min?, max?}, inclusive. Items lacking a filtered field are silently excluded, so rarity + spellLevel matches only rare spells.
Pagination: limit 1..200 (default 50), offset; 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. |