Update location
update_locationOverwrite fields on one location. Read it first (get_project_locations or get_location), then send ONLY the fields you changed — omitted fields are left untouched. IMPORTANT: a location is usually shared by several scenes across episodes, so this edit changes every scene that uses it. Check where it is used first; if the change is meant for one scene only, it needs a NEW location rather than an edit to this one. Editing name, short_description, visual_prompt, user_prompt, visual_style or aspect_ratio marks the location stale, because its existing generated image no longer matches the description — regenerate the image if you want them back in sync. Editing mood, location_type, recurring or appears_in_episodes does not affect the image and leaves the stale flag alone. Keep descriptions consistent with the owning character's status and the project's tone. This writes immediately and cannot be undone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes | Fields to change. Send only what you are changing. | |
| location_id | Yes | Location id to update. |