system_df
Report disk usage for images, containers, and volumes so you can see space held and reclaimable space before pruning.
Instructions
Report disk usage for images, containers, and volumes.
Use this before pruning to see how much space each category is holding and how
much of it is reclaimable. Requires the container system service to be running.
Returns:
On success: {"status": "ok", "disk_usage": {...}}
The payload has "containers", "images", and "volumes" keys, each with
active / total counts and sizeInBytes / reclaimable byte counts.
On error: {"status": "error", "message": str, "details": str}
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "system_df"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |