list_directory
List files and folders within an Obsidian vault directory, accessible by specifying a relative path or leaving root as empty.
Instructions
List files and folders under a vault directory. Use directory='' or '/' for the vault root.
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_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Vault-relative directory path, e.g. '' or 'folder'. | / |