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.
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": {
"worldId": "<worldId>",
"changes": "<changes>"
},
"name": "apply_world_changes"
}
}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. |