summarize
Scan a directory to reveal its total size, file count, and top 10 file extensions by proportion, helping you identify cleanup targets for disk cleanup.
Instructions
目录体检:总大小、文件数、按类型(后缀)占比 Top10。
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": {
"dir": "<dir>"
},
"name": "summarize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | 要体检的目录绝对路径 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |