List Folders
obsidian_list_foldersLists folders in an Obsidian vault or subfolder with vault-relative paths and note counts, excluding hidden directories. Use it to browse vault structure and find folders before managing notes.
Instructions
List all folders in the vault (or a subfolder), with note counts.
Hidden directories (those starting with .) such as .obsidian and .trash are automatically excluded.
Args:
folder (string, optional): Vault-relative path to list subfolders of (default: vault root)
response_format: 'markdown' | 'json' (default: 'markdown')
Returns: List of folders with vault-relative paths, names, and note counts.
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": "obsidian_list_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | Vault-relative folder to list subfolders of (default: vault root) | |
| response_format | No | Output format: 'markdown' for human-readable, 'json' for machine-readable | markdown |