Update folder
update_folderRenames, repositions, or moves (reparents) a folder. Pass any subset of name / parent_id / position. parent_id: null moves the folder to the top level; a string reparents it under that folder (must be the same workspace, no cycles, max 5 levels deep). Names must stay unique among siblings. Returns the updated folder row.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional new name (max 80 chars). Must be unique among the folder's siblings. | |
| position | No | Optional integer position for manual ordering. | |
| folder_id | Yes | The folder to update. Get it from list_folders. | |
| parent_id | No | Optional new parent folder id. Pass null to move the folder to the top level. Must belong to the same workspace. Cannot create a cycle or exceed 5 levels of nesting. | |
| idempotency_key | No | Optional client-generated key (e.g., a UUID) to make retries safe. Identical calls with the same key within 10 minutes return the original result instead of running the write twice. |