list_folders_tool
Explore and verify folder structures in your Obsidian vault to understand organization, check folder existence, or prepare for note creation.
Instructions
List folders in the vault or a specific directory.
When to use:
Exploring vault organization structure
Verifying folder names before creating notes
Checking if a specific folder exists
Understanding the hierarchy of the vault
When NOT to use:
Listing notes (use list_notes instead)
Searching for content (use search_notes)
Returns: Folder structure with paths and names
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_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | ||
| recursive | No | Whether to include all nested subfolders | |
| ctx | No |