List folders
driftnet_list_foldersGet the folder tree and valid folder IDs before moving items, creating or modifying folders, or running folder-filtered searches. Returns a flat list with parent references to rebuild nesting.
Instructions
List the reader's folder tree, which is also the set of categories driftnet sorts new links into. Call it before driftnet_move_items, driftnet_create_folder, driftnet_update_folder, driftnet_delete_folder or a folder-filtered driftnet_search_items to get valid ids; ids stay the same when a folder is renamed. Skip it when you already listed the folders in this session and nothing changed. Takes no parameters and returns the whole tree as a flat list: follow parent to rebuild the nesting (null means top level). items counts only the cards directly inside, not those in sub-folders; uses shows where the reader files most often, a good tiebreaker when two folders fit.
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": "driftnet_list_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folders | Yes |