List folders
list_foldersList the Folders this connection can see, a page at a time. Each has id, name, parent_id, revision, trashed and shared; parent_id builds the tree (null at the top level, or when the parent is outside access). Folders are optional and many Threads sit at the top level: to find a Thread, use list_threads or search. A Folder's id goes to list_threads, create_thread, move_thread and create_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": "list_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many to return, 1–50. | |
| state | No | "active" (default), "trash" or "all". | active |
| cursor | No | next_cursor from the previous page; omit for the first page. |