list_directory
Browse directory contents with pagination to manage large folders and avoid context overflow in Obsidian vaults.
Instructions
List directory contents with pagination to prevent context overflow. Shows immediate contents by default.
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 |
|---|---|---|---|
| path | No | Directory path to list | . |
| recursive | No | Include subdirectories recursively | |
| limit | No | Maximum items to return | |
| offset | No | Pagination offset |