Apply Character Operation
apply_character_session_operationUpdate a D&D character outside battle: adjust equipment, gain levels, manage companions or forms, apply healing or rests, track recovery time, and spend or convert resources.
Instructions
Update a finalized character outside Battle: change equipment or levels, manage forms and companions, apply healing or rests, advance recovery time, or spend and convert resources. Choose one operation.kind and its matching fields; every affected Character Session must be available in this Play Session. Returns character state and, when applicable, an operation result; calendar-time recovery may request dice fills. Changes can consume resources and are not safe to repeat blindly. Use query_character_session for read-only projections, creation tools for drafts, and Battle tools for in-Battle actions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | Choose exactly one kind and provide that variant's fields. Use setEquipmentLoadout for equipment, advanceClassLevel for advancement, the form or companion kinds for retained selections, healing or rest kinds for recovery, passCalendarTime for elapsed-time recovery, and resource kinds to spend or convert uses. For an interrupted Long Rest, submit every interruption segment and the final completion together with strictly increasing cumulativeRestedTicks; no intermediate rest is retained. All referenced characters must belong to this Play Session and be available outside Battle. | |
| characterId | Yes | Character Session id from finalize_character or list_characters in this Play Session. The character must be available outside Battle; for healing operations this is the source character. | |
| playSessionId | Yes | Play Session handle returned by create_play_session for follow-up stateful calls in the same local process or authenticated account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||