world-item-update
Update a world item: name, image, folder, system data. folder is TRI-STATE: omit = unchanged, a string = new folder, EXPLICIT null (or clearFolder: true when the client cannot send null) = move to root. system is deep-merged — pass only the paths you change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| img | No | New image path. Omit to leave unchanged. | |
| name | No | New name. Omit to leave unchanged. | |
| folder | No | Tri-state: omit = leave alone, string = set folder ID, null = move to root. | |
| itemId | Yes | World item ID to update | |
| system | No | System-data partial. Deep-merged into existing — pass only the keys you want to change. | |
| clearFolder | No | Alternative move-to-root signal for clients that cannot send literal JSON null. When true, overrides any folder value. |