List Directory
list_dirInspect a remote directory's contents with sorted entries showing file type, size, and modification time. Use it to browse files on a server before reading or editing.
Instructions
List directory entries sorted by name: name, type (d dir, l symlink, f file), size in bytes, mtime in Unix seconds. Max 2000 per call; truncated=true if more.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory; "~" expands to home; default: working directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| path | No | ||
| count | No | ||
| error | No | ||
| items | No | ||
| has_more | No | ||
| truncated | No |