actor-filter
Search WORLD actors with D&D 5e structured filters (dnd5e worlds only). Returns paginated {id, name} entries; call actor-get for full stats. Filters combine with AND, values inside one array with OR. Use for "undead with CR 1-5", "PCs in the party", "dragons with AC 18+", "NPCs in folder Chapter 7". For every actor unfiltered use actor-list; compendiums are NOT searched (use dnd5e-compendium-filter-actors).
CRITICAL DATA FORMATS
CR is a NUMBER from the exact set 0, 0.125, 0.25, 0.5, 1..30 ("1/4" -> 0.25; 0.7 is rejected).
Sizes are SHORT codes: tiny, sm, med, lg, huge, grg ("small" is rejected).
creatureType: the 14 lowercase SRD types only; subtypes ("demon") are rejected, use the base type ("fiend").
Ranges are {min?, max?}, inclusive; min = max for an exact match. Actors lacking a filtered field are silently excluded (PCs have no CR, vehicles no abilities, root-level actors no folder).
Pagination: limit 1..200 (default 50), offset; the response has total and hasMore.
EXAMPLES { "cr": { "min": 0.25, "max": 0.25 }, "type": ["npc"] } { "creatureType": ["undead"], "folder": { "name": "Chapter 3", "recursive": true } }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ac | No | Armor Class range. | |
| cr | No | Challenge Rating range (numbers from the valid CR set). NPCs only. | |
| name | No | Substring of actor name, case-insensitive. | |
| size | No | Size short codes (OR). | |
| type | No | Actor types (OR). | |
| level | No | Character level range. PCs only. | |
| limit | No | Page size, default 50, max 200. | |
| maxHp | No | Max HP range. | |
| folder | No | Folder by id or name; recursive includes subfolders. | |
| offset | No | Skip first N results. | |
| abilities | No | Per-ability score ranges. | |
| currentHp | No | Current HP range ("find wounded actors"). | |
| disposition | No | Prototype token disposition (OR). | |
| creatureType | No | SRD creature types (OR), NPCs only. No subtypes: "demon" -> "fiend". | |
| hasPlayerOwner | No | true = actor has at least one player owner (typically PCs). |