Safe Server Resource Cleanup (v1.6.0)
cleanup_server_resourcesChecks server disk usage and non-destructively prunes dangling Docker images and stale git branches when usage exceeds 70%.
Instructions
Checks server disk usage with safety threshold (>70% disk usage requirement) and performs non-destructive pruning of dangling Docker images and stale git tracking branches.
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": "cleanup_server_resources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Set to true to force cleanup even if disk usage is below 70% | |
| app_path | No | Absolute path to application directory on remote server (auto-resolved if omitted) |