folder_tree
Retrieve the vault folder hierarchy as a tree, with configurable depth and note counts per folder.
Instructions
Return the vault folder structure as a hierarchy.
Uses the SQLite catalog without scanning the filesystem.
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": "folder_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | hierarchy depth, bounded by configuration | |
| include_counts | No | include note counts by folder |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |