get_vault_structure
Retrieve the hierarchical folder structure of an Obsidian vault, with optional depth limits and file inclusion filters.
Instructions
Get the folder tree structure of the vault. Requires OBSIDIAN_VAULT_PATH to be set for the targeted vault.
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": "get_vault_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vaultId | No | Optional vault ID (defaults to configured default vault). | |
| maxDepth | No | Maximum folder depth to return (default: unlimited). | |
| includeFiles | No | Include files in the tree, not just folders (default: false). |