list_directory
List directory contents to see files and subfolders in plain text, with directories first then alphabetical order. Handles large directories by truncating instead of failing.
Instructions
List the contents of a directory.
Returns a plain text listing, directories first then files, each alphabetically. Large directories are truncated rather than refused. This is a read-only operation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |