get_treemap
Retrieve a treemap visualization image for a disk scan, displaying file sizes as nested rectangles. Only available if treemap was generated during the scan.
Instructions
Get a treemap visualization image for a scan (if generated during scan).
Note: treemap images are only available if the scan was run with treemap=True in scan_disk.
Args: scan_id: The scan ID to retrieve the treemap for. ctx: MCP context (injected automatically).
Returns: PNG image content of the treemap visualization.
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": "get_treemap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scan_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| type | Yes | ||
| _meta | No | ||
| mimeType | Yes | ||
| annotations | No |