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. Unfiltered: actor-list; compendiums: 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).
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).
The response has total and hasMore.
EXAMPLES { "creatureType": ["undead"], "cr": { "min": 0.25, "max": 2 }, "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). |