update_character
Modify RPG character attributes like stats, health, spells, and conditions for tabletop game sessions. Supports granular updates to manage character progression and status effects.
Instructions
Update character properties. All fields except id are optional.
For conditions, you can pass an array to SET all conditions (replacing existing), or use addConditions/removeConditions for granular control.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | No | ||
| race | No | ||
| class | No | ||
| hp | No | ||
| maxHp | No | ||
| ac | No | ||
| level | No | ||
| characterType | No | ||
| stats | No | ||
| knownSpells | No | ||
| preparedSpells | No | ||
| cantripsKnown | No | ||
| spellSlots | No | ||
| pactMagicSlots | No | ||
| spellcastingAbility | No | ||
| conditions | No | Replace all conditions with this array | |
| addConditions | No | Add these conditions to existing ones | |
| removeConditions | No | Remove conditions by name | |
| sessionId | No |