World Model Management
manage_worldCreate, update, remove, convert, or generate rooms, things, and exits in a persistent, audited world model so your game's spatial state stays accurate.
Instructions
Manage the world model — rooms, things, exits, and their spatial properties. create and update mutate in place and persist to the Novel; all mutations are audited; remove is permanent and requires re-creation; convert replaces the described subtree; generate creates rooms from installed table pools bounded by TTRPG_WORLD_GEN_MAX_ROOMS. create_exit links both directions; create_thing honors location_type only when location is set, and kind forces property defaults. There are no read-only actions here; inspect state with run_command (action: execute). Use when: creating, updating, removing, bulk-converting, or generating locations and objects. Do NOT use when: navigating the world — use run_command (action: execute); proposing objective-state transitions — use manage_causality; recording what an entity believes — use manage_belief.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Destination room alias for room_b (create_exit). | |
| key | No | Bound key thing name required to unlock or lock this thing when lockable (create_thing/update_thing). | |
| lit | No | When true the thing is lit (create_thing/update_thing). | |
| from | No | Source room alias for room_a (create_exit). | |
| kind | No | Optional thing kind (create_thing). | |
| name | No | Room/thing name (create/update/remove). | |
| room | No | Source room (create_exit/remove_exit). | |
| seed | No | Deterministic seed (generate). | |
| fixed | No | When true the thing cannot be taken (create_thing/update_thing). | |
| noise | No | Auditory cue text reported by listen (create_thing/update_thing). | |
| scent | No | Olfactory cue text reported by smell (create_thing/update_thing). | |
| action | Yes | World: create_room, update_room, remove_room, create_thing, update_thing, remove_thing, create_exit, remove_exit, convert, or generate. Causal: causal_propose, causal_admit, causal_reject, causal_list, causal_state, or causal_ingress. | |
| edible | No | When true the thing can be eaten (create_thing/update_thing). | |
| locked | No | When true the thing starts locked (create_thing/update_thing). | |
| room_a | No | Source room (create_exit). | |
| room_b | No | Destination room (create_exit). | |
| source | No | Hybrid world-model source text (convert). | |
| options | No | Generation options (generate): roles maps installed table names to room, objects, persons, or hazards pools; rooms requests a count bounded by TTRPG_WORLD_GEN_MAX_ROOMS. | |
| location | No | Optional containing room or thing (create_thing/update_thing). | |
| lockable | No | When true the thing can be locked (create_thing/update_thing). | |
| openable | No | When true the thing can be opened (create_thing/update_thing). | |
| readable | No | When true the thing can be read (create_thing/update_thing). | |
| wearable | No | When true the thing can be worn (create_thing/update_thing). | |
| climbable | No | When true the thing can be climbed (create_thing/update_thing). | |
| direction | No | Direction (create_exit/remove_exit). | |
| drinkable | No | When true the thing can be drunk (create_thing/update_thing). | |
| enterable | No | When true the thing can be entered (create_thing/update_thing). | |
| read_text | No | Text revealed when the thing is read (create_thing/update_thing). | |
| switchable | No | When true the thing can be switched (create_thing/update_thing). | |
| description | No | Optional description (create/update). | |
| switched_on | No | When true the thing is switched on (create_thing/update_thing). | |
| transparent | No | When true the thing is transparent (create_thing/update_thing). | |
| location_type | No | Where the thing is placed (create_thing). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Human-readable text envelope mirroring the structured result (REQ-001, REQ-548a). | |
| status | Yes | Machine-readable result status: OK, NEED_INPUT, WARNING, PARTIAL, or an error category (REQ-002, REQ-548c). |