by_type
Identify top file extensions by total size in a directory. Scan a root path to see which file types consume the most space, aiding cleanup targeting.
Instructions
Top file extensions by total size.
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": {
"rootPath": "<rootPath>"
},
"name": "by_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| maxDepth | No | ||
| maxFiles | No | ||
| rootPath | Yes | ||
| ignoreGlobs | No | ||
| includeGlobs | No |