impreza_change_domain
Change the clearnet hostname of a running deployment without touching its container or data. The agent updates Caddy and reloads with zero downtime, and Let's Encrypt issues a fresh certificate on first hit.
Instructions
Re-route a RUNNING deployment to a new clearnet hostname without touching its container or data. The agent regenerates its Caddy fragment + reloads zero-downtime; Let's Encrypt issues a fresh cert on the first hit. Use to migrate from an auto-subdomain to a custom domain, or vice-versa, or just to rename. Deployment must be in status=running (Phase 9.19).
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": {
"deployment_id": "<deployment_id>",
"domain": "<domain>"
},
"name": "impreza_change_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | New clearnet hostname (no scheme). Must differ from the current one. | |
| deployment_id | Yes | The dpl_... id to re-route. |