Rename or recolour a folder
folders_updateRename one of the user's folders or give it a colour, as its ⋮ in Humble does: a private folder by its name as folder, or a shared folder by its uuid as shared_folder. A private folder can't take the name of another of the user's. A shared folder is renamed and recoloured by its admins alone (can_manage in folders_get), and everyone in it sees the change. Returns the folder as folders_get does.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "folders_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Its new name | |
| colour | No | manila is a folder's own until another is picked | |
| folder | No | A private folder's name, as folders_list returns it | |
| shared_folder | No | A shared folder, by the uuid folders_list gives it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Opens a shared folder in Humble | |
| role | No | The user's role in a shared folder | |
| uuid | No | A shared folder's | |
| notes | Yes | ||
| owner | No | Who made a shared folder: always an admin of it | |
| tasks | Yes | ||
| colour | No | manila is a folder's own until another is picked | |
| folder | Yes | Its name, as the user typed it | |
| can_add | No | Whether the user may add notes and tasks to a shared folder | |
| contacts | Yes | ||
| can_manage | No | Whether the user may rename or recolour a shared folder, take others' things out of it and change who it's shared with: its admins | |
| notes_total | Yes | ||
| shared_with | No | Who else may open it, besides its owner, as its Share tab in Humble lists them | |
| tasks_total | Yes | ||
| contacts_total | Yes |