files/list
List directory contents showing permissions, owner, group, size, modification time, and symlink targets without following symlinks. Supports sorting by name, size, or time and including hidden files.
Instructions
Lists a directory like ls -la: file type and permissions, link count, owner, group, size, modification time and symlink targets (symlinks are shown, never followed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Include dotfiles, . and .. (ls -a) | |
| long | No | Long listing like ls -l: type+permissions, links, owner, group, size, date, symlink target. Default true; false lists names only | |
| path | Yes | Directory path to list | |
| sort | No | Sort by name (default), size (largest first) or time (newest first) | |
| reverse | No | Reverse the sort order (ls -r) | |
| dirs_first | No | List directories before files | |
| privileged | No | Set to true to run as root | |
| numeric_ids | No | Show numeric uid/gid instead of names (ls -n) | |
| output_format | No | Desired output format (e.g. json, yaml, table, wide). Defaults to text | |
| human_readable | No | Sizes like 4.0K, 1.5M (ls -h); default is bytes |