list_directory
List directory contents with entry name, type, size, and modification time. Use to browse filesystem or verify file presence. Requires allow_file_read permission.
Instructions
List the contents of a directory. Returns each entry's name, type (file/dir), size, and modification time. Use to browse the filesystem or verify file presence. Requires allow_file_read in ~/.syscontrol/config.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory path to list (default: home directory). | |
| show_hidden | No | Include entries starting with '.' (default false). |