List directory
list_dirList files and folders in the configured workspace, with optional recursive depth, sorting, hidden/ignored inclusion, and entry limits for bounded directory exploration.
Instructions
List directory entries inside the configured workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . | |
| sort | No | name | |
| max_depth | No | ||
| recursive | No | ||
| max_entries | No | ||
| include_hidden | No | ||
| include_ignored | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| path | No | ||
| error | No | ||
| entries | No | ||
| warnings | No | ||
| truncated | No | ||
| output_bytes | No | ||
| output_lines | No | ||
| truncated_by | No |