Rename a folder
folder-renameRename a Foundry VTT sidebar folder by its ID or exact name, optionally within one document type. If duplicate names exist, the error lists them so you can pass the correct ID.
Instructions
Rename a sidebar folder, found by its id or exact name, optionally only among folders of one document type. When several folders have that name, the error lists them so the id can be passed instead. Contents stay.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Document type of the folder, e.g. "JournalEntry" or "Actor". | |
| newName | Yes | The new name. | |
| folderName | Yes | Id or exact current name of the folder. |