fast_list_directory
List directory contents with pagination, filtering, sorting, and automatic chunking for large directories. Supports hidden files and continuation tokens for efficient browsing.
Instructions
Lists the contents of a directory (with auto-chunking and pagination support)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "fast_list_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory path | |
| page | No | Page number | |
| page_size | No | Number of items per page | |
| pattern | No | Filename filter pattern | |
| show_hidden | No | Show hidden files | |
| sort_by | No | Sort by | name |
| reverse | No | Reverse sort order | |
| continuation_token | No | Continuation token from a previous call | |
| auto_chunk | No | Enable auto-chunking |