fleet_maintenance
Reports pending host maintenance—reboot-required packages, kernel mismatches, failed systemd units, and needrestart hints—so you can plan updates without rebooting or restarting hosts.
Instructions
Report pending host maintenance: reboot-required packages, kernel running vs newest installed, failed systemd units, and optional needrestart service hints. Read-only — never reboots or restarts. Use when the user asks what maintenance is pending; do not conflate this with capacity/pressure (use fleet_status / fleet_headroom for that).
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": "fleet_maintenance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serverId | No | Optional inventory server id (from list_servers / servers.json) to limit the report to one host. Omit to scan the whole fleet. | |
| inventory | No | Optional path to servers.json (absolute or ~/…). Overrides FLEETLOOM_INVENTORY for this call. When omitted, uses FLEETLOOM_INVENTORY or the Go CLI default (~/.config/fleetloom/servers.json). |