suggest_rebalance
Suggests one container move to relieve pressure on a stressed host, returning source, destination, and rationale; advisory only, it does not execute moves.
Instructions
Suggest one container move that would best relieve pressure on a stressed host (source, destination, rationale). Advisory only — never executes docker moves or Compose changes. Use after fleet_status shows pressure; confirm with place_service/advise_deploy before acting manually.
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": "suggest_rebalance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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). | |
| includeStateful | No | If true, allow suggestions that move likely-stateful services (databases, persistent data). Default false — prefer ephemeral/stateless moves. |