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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "update_character"
}
}Input 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 |