Rename, re-describe or move a folder
driftnet_update_folderRename a folder, edit its description, or move it to a new parent while keeping its id. Only the fields you pass change; items inside stay put.
Instructions
Change an existing folder's name, description or parent; only the fields you pass change. To add a folder use driftnet_create_folder, to remove one driftnet_delete_folder, and to move cards between folders driftnet_move_items. The id stays the same after a rename, so ids you hold keep working. description replaces the classifier rule for future links; items already inside are not re-sorted. parent moves the folder with everything inside it: another folder id, or null for the top level; omit it to leave the folder where it is. It can't be moved into itself or its own sub-folders. Fails if the folder does not exist or the change is refused (empty name, a loop, a name clash).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Folder id from driftnet_list_folders, e.g. 'coding' | |
| name | No | New name, 1–60 chars | |
| parent | No | New parent folder id; null for the top level; omit to keep it | |
| description | No | New rule for what belongs here, up to 300 chars |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| folder | Yes | ||
| parent | Yes |