What's in a folder
folders_getWhat's in one of the user's folders: a private one by its name as folder, or a shared one by its uuid as shared_folder, both as folders_list returns them. Its notes (latest first), open tasks (newest first) and, in a private folder, contacts (newest first), up to limit of each; the _totals count all of each. A shared folder also says who it's shared with, each at their role, the user's own role, and what that lets them do: can_add notes and tasks to it, can_manage it (rename it, recolour it, take others' things out, change who it's shared with). For completed tasks, or to search inside the folder, use notes_search or tasks_search with folder or shared_folder, or contacts_search with folder.
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_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many of each to return | |
| 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 |