explain_host
Inspect a single host's mounts, swap, memory pressure, Compose containers, service drift, and usable headroom to diagnose tight capacity or see what runs there.
Instructions
Deep-dive one host: mounts, swap, memory PSI, containers by Compose project, expected-service drift, usable headroom, and constraints. Use when the user asks why a specific machine is tight or what is running there. Prefer fleet_status for fleet-wide view and fleet_headroom for capacity-above-floors across hosts. Optional teach=true adds teachNotes for observed host signals. Read-only.
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": {
"serverId": "<serverId>"
},
"name": "explain_host"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| teach | No | If true, include teachNotes[] keyed by ontology concept slugs. | |
| serverId | Yes | Inventory server id to inspect (from list_servers / servers.json), e.g. vps-1. | |
| 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). |