get_directory_size
Calculates the total size of a directory and all subdirectories recursively, helping you assess disk usage of any folder in the file system.
Instructions
Get directory size recursively
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": {
"path": "<path>"
},
"name": "get_directory_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory path |