get_dir_size
Calculate the total size of a directory, including files and subdirectories, to see how much space it uses on your Synology NAS. Returns total size, file count, and directory count.
Instructions
Calculate the total size of a directory, including all files and subdirectories. Returns total size, file count, and directory count. This is the best tool for answering 'how much space does X use' questions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |