advise_deploy
Get a read-only, host-grounded deployment brief for a workload: proxy and network conventions, stack path, memory guardrail, and pre-flight checklist. Use it to write Compose files without inventing host topology.
Instructions
Host-grounded deployment brief for a workload: reverse-proxy/network conventions, stack path, memory guardrail, and pre-flight checklist. Read-only — does not deploy. Use after place_service or with serverId to pin a host. Write Compose/proxy files from this brief; never invent host topology. Optional teach=true adds teachNotes for proxy/storage/stateful signals.
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": "advise_deploy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Workload / service name, e.g. nextcloud or batch-worker | |
| tags | No | Placement affinity tags inferred from the workload, e.g. storage-heavy, memory-heavy, public-apps | |
| notes | No | Short rationale for the inferred requirements | |
| teach | No | If true, include teachNotes[] (ontology slugs) for signals in this brief. | |
| preset | No | Built-in preset: postgres, redis, nextcloud, jellyfin, web-api | |
| needsGpu | No | Require a GPU-capable host | |
| serverId | No | Pin advice to this inventory server id (skips re-running placement). Use the recommendedServerId from place_service when available. | |
| stateful | No | True for databases / persistent data apps that prefer RAM headroom | |
| 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). | |
| minVramMb | No | Minimum free GPU VRAM (MiB) | |
| composePath | No | Tool-only: path to docker-compose.yml / compose.yaml to infer requirements (not a WorkloadRequest field) | |
| minCpuCores | No | Minimum host CPU cores | |
| requiredTags | No | Hard-required host tags | |
| forbiddenTags | No | Hard-forbidden host tags | |
| minDiskFreeGb | No | Minimum free disk required on the target host (GiB) | |
| requiredPorts | No | Host/published ports that must be free | |
| maxLoadPerCore | No | Maximum acceptable 1-minute load average per CPU core | |
| minMemoryFreeMb | No | Minimum available memory required on the target host (MiB) | |
| antiAffinityServices | No | Reject hosts already running these services/containers |