Rename a folder
folder-renameRename a Foundry VTT sidebar folder by id or exact name, optionally scoped to a document type. When duplicate names occur, the tool returns the matching folders 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. |