update-actor
Edit a D&D 5e actor's stat-block fields including abilities, health, movement, senses, defenses, and currency. Works for both PCs and NPCs, with NPC-only options for challenge rating, creature type, legendary actions, and more.
Instructions
[D&D 5e only] Edit an EXISTING actor's own stat-block fields. Supply only the groups you want to change: • identity — name, img • details — size, cr*, creatureType*, creatureSubtype*, swarmSize*, alignment, biography, source • abilities — abilities.{str..cha}, savingThrows (replace), skills (merge; proficiency none/proficient/expert) • vitals — hp, ac, initiative • movement, senses • defenses — damageImmunities / damageResistances / damageVulnerabilities / conditionImmunities / languages (each {mode: replace|add|remove, values, custom?}), telepathy • resources* — legendaryActions, legendaryResistances, lair • 2024* — habitat, treasure • currency — coins {mode: set|add, pp, gp, ep, sp, cp} (carried money)
Fields marked * are NPC-only (skipped with a warning on player characters). This authors the stat block; it does NOT edit embedded items (use update-actor-item / add-feature / manage-activity) or run combat. Use list-actors or get-actor to find the actorIdentifier.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ac | No | Armor class. | |
| cr | No | [NPC] Challenge rating (0.125 / 0.25 / 0.5 allowed). | |
| hp | No | Hit points (value / max / temp / tempmax / formula). | |
| img | No | Portrait image path or URL. | |
| lair | No | [NPC] Lair actions — sets the lair initiative count (marks the creature as having a lair). | |
| name | No | Rename the actor. | |
| size | No | Creature size (long name or short code). | |
| senses | No | Senses ranges (feet) plus special-sense free text. | |
| skills | No | Set skill proficiencies — merge: only the listed skills change. | |
| source | No | Source metadata (book / page / rules edition). | |
| habitat | No | [NPC, 2024] Habitats (replace the whole list), e.g. [{type:"forest"},{type:"planar",subtype:"nine hells"}]. | |
| currency | No | Carried coins (pp/gp/ep/sp/cp). Only the coins you list change. | |
| movement | No | Movement speeds (in the given units, default feet). | |
| treasure | No | ||
| abilities | No | Ability scores to set — only the abilities you list change. | |
| alignment | No | Alignment free text (e.g. "Lawful Evil"). | |
| biography | No | Biography / description (HTML). | |
| languages | No | ||
| swarmSize | No | [NPC] Swarm member size, or "" if the creature is not a swarm. | |
| telepathy | No | Telepathy range (0 = none). | |
| initiative | No | Initiative bonus and/or ability override. | |
| creatureType | No | [NPC] Creature type: aberration, beast, celestial, construct, dragon, elemental, fey, fiend, giant, humanoid, monstrosity, ooze, plant, undead. | |
| savingThrows | No | Replace the proficient saving throws: the listed abilities become proficient, all others non-proficient. | |
| actorIdentifier | Yes | Name or id of the actor to edit (partial name match supported). | |
| creatureSubtype | No | [NPC] Creature subtype free text (e.g. "Devil"). | |
| damageImmunities | No | ||
| legendaryActions | No | [NPC] Legendary action points per round (resources.legact.max). | |
| damageResistances | No | ||
| conditionImmunities | No | ||
| legendaryResistances | No | [NPC] Legendary resistance uses per day (resources.legres.max). | |
| damageVulnerabilities | No |