Folder size
get_dir_sizeCalculates total size, file count, and folder count for one or more paths on a Synology NAS, helping you audit storage usage before organizing files.
Instructions
Calculate total size, number of files and number of folders for one or more paths.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"paths": "<paths>"
},
"name": "get_dir_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes |