get_directory_size
Recursively calculate a directory's total size and file count to monitor disk usage. Returns bytes, megabytes, and number of files for a workspace-relative path.
Instructions
Recursively calculate the total size of a directory's contents.
Args: path: Directory to measure, relative to the workspace root.
Returns: Total size in bytes and megabytes, plus the number of files counted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . |