空间占用分析
storage_reportAnalyze a directory to reveal where space goes: top subdirectories, file-type usage (images, videos, audio, documents, archives), and largest files. Find what fills storage when space runs low.
Instructions
分析一个目录的空间都去哪了:Top 子目录、按文件类型(图片/视频/音频/文档/压缩包)的占用分布、最大的几个文件。用于「手机空间不够了帮我看看」。
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": "storage_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | 列出前几个子目录,默认 8 | |
| path | Yes | 要分析的目录绝对路径 | |
| max_entries | No | 最多扫描多少个文件,默认 20000 |