list_files
Browse and filter Obsidian vault files by folder, extension, or glob, sort by name, modified date, or size, and exclude hidden folders.
Instructions
List files in the vault or a folder. Filter by extension(s) or glob, sort by name/modified/size. Skips .obsidian/.trash and other dot-folders.
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_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | Glob on the vault path, e.g. "Projects/**/*.md" or "*meeting*" | |
| sort | No | ||
| limit | No | Max results (default 500) | |
| vault | No | Vault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian. | |
| folder | No | Limit to this folder (vault-relative) | |
| details | No | Include size and dates (default false: paths only) | |
| recursive | No | Include subfolders (default true) | |
| descending | No | ||
| extensions | No | e.g. ["md"] or ["png","jpg"] |