list_directory
List directory contents to view files and subdirectories. Supports simple or detailed output, and can include hidden files.
Instructions
Lists the contents of a directory, showing both files and subdirectories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the directory to list. Can be absolute, relative to active directory, or use ~ for home directory. | |
| format | No | Format of the output: simple (names only) or detailed (with file information) | |
| showHidden | No | If true, include hidden files (starting with .) |