update-folder
Update an existing sidebar folder in place: rename, recolor, set sort order, or reparent to another folder or root. Resolves by exact id or name+type, skipping the move-documents and delete-folder workflow. GM-only.
Instructions
Update a sidebar Folder in place — rename it, recolor it, set its raw sort, and/or reparent it (nest under another folder of the same type, or pass parentFolder:"" to move it to the root). Resolves the folder by exact id or exact name+type. Use this to RENAME a folder without the move-documents + delete-folder dance. To reposition a folder, RENAME it — sort does not drive folder order in the v14 sidebar. GM-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New folder name (rename). | |
| sort | No | The Folder document's sort value. ⚠️ ADVISORY, not a lever: writing it persists and reads back, but the v14 sidebar was observed rendering sibling FOLDERS ALPHABETICALLY BY NAME regardless of it (verified live 2026-08-12 on Scene folders — 100000/200000/300000 against siblings at 0 did not move them). To control folder ORDER, control the NAME (this world uses "NN - " prefixes, 99 for undetermined). | |
| type | No | Folder document type (needed to resolve by name; default Actor). | Actor |
| color | No | New hex color, e.g. "#4a90e2". | |
| identifier | Yes | Folder id or exact name to update. | |
| parentFolder | No | Reparent under this folder id or exact name (same type). "" = move to root. |