Apply relevant world-state changes
apply_world_changesApply multiple durable world changes in one atomic call: create, update, or delete RPG entities such as characters, locations, plots, notes, and items to keep game state consistent.
Instructions
Create, update or delete several durable entities atomically in one call. Create operations may define local refs used by locationRef or parentRef, including forward references. Store only lasting or story-relevant changes, preferably together at natural story boundaries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | ||
| summary | No | Optional concise event summary explaining this group of changes. | |
| worldId | Yes | Numeric world ID from list_worlds or create_world. | |
| eventSecret | No | Mark the event summary as GM-only. Required when a summarized batch affects any secret entity. |