relay_reconnect
Restart a stale Mercure relay connection by terminating and relaunching the background listener after verifying unhealthiness. Optionally force restart without health check.
Instructions
Heal a stale Mercure relay connection. Consults the backend's /api/cli/status first and no-ops if the listener is healthy; otherwise SIGTERMs the recorded PID and launches a fresh background listener. Pass force=true to skip the health-check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Restart even if the backend reports the listener as connected (default: false). |