List Directory
list_directoryList files and directories in a specified path, showing type and size in bytes.
Instructions
List entries in a directory with type (file/dir) and size.
Args:
path (string): Directory path (default current working directory).
Returns a list of { name, type, size_bytes }.
Example: { "path": "~/project/src" }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory path | . |