list_files
List files and directories in an Obsidian vault from the root or a specified folder. Returns file names and folder names, with folders marked by a trailing slash.
Instructions
List files and folders in the Obsidian vault. Can list the root directory or a specific folder. Returns names of files and directories (directories end with /).
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 |
|---|---|---|---|
| path | No | Directory path relative to vault root. Leave empty for root directory. |