get_directory_size
Calculate the total size of a directory and its contents recursively on an XRootD file system.
Instructions
Calculate total size of a directory (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 | Path to the directory | |
| server | No | Name of the XRootD server to use (default: first configured server) |