file_type_summary
Groups files by extension and ranks them by total size to identify which file types consume the most disk space.
Instructions
Summarize disk usage by file extension type.
Groups all files by their extension and returns a ranked list of which file types consume the most space.
Args: scan_id: The scan ID. limit: Number of extensions to show (default 30, max 100). ctx: MCP context (injected automatically).
Returns: Ranked table of 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": {
"scan_id": "<scan_id>"
},
"name": "file_type_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| scan_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |