actor-update
Update an actor's name, image, folder, or system data (HP, XP, abilities...), or ONE token's actor via tokenId. system is DEEP-MERGED: pass only the paths you change, e.g. {"attributes": {"hp": {"value": 25}}} sets current HP and leaves the rest intact; arrays are replaced whole. Common dnd5e paths: attributes.hp.value, details.xp.value. For HP after damage prefer dnd5e-apply-damage (resistances, temp HP).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| img | No | New image path for the actor | |
| name | No | New name for the actor | |
| folder | No | New folder ID to move the actor to | |
| system | No | System-specific data to update (e.g., {"attributes": {"hp": {"value": 25}}} to set HP to 25) | |
| actorId | No | Actor ID (from actor-list/actor-filter) | |
| sceneId | No | Scene of tokenId (default: active) | |
| tokenId | No | Token ID (from token-list) instead of actorId: that token's own actor (module 8.14+) |