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.
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 |