cleanup_build_logs
Reclaim disk space by deleting build logs older than a set number of days and trimming total log size to a target limit.
Instructions
Delete old build logs to reclaim disk space. Removes logs older than max_age_days, then trims oldest until under max_total_mb.
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_build_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_age_days | No | Delete logs older than this many days | |
| max_total_mb | No | Target max total log size in MB |