List Directory
list_directoryList directory contents with file type, size, and modification date. Supports recursive subdirectories and showing hidden files.
Instructions
List the contents of a directory with metadata (type, size, modified date).
Args:
path (string): Directory to list.
recursive (boolean, optional): List subdirectories recursively. Default: false.
show_hidden (boolean, optional): Include dotfiles/dotdirs. Default: false.
Returns: a listing with one entry per line: type, size, modified date, name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory to list | |
| recursive | No | List subdirectories recursively | |
| show_hidden | No | Include dotfiles/dotdirs |