relay_reconnect
Restarts a stale Mercure relay connection after verifying listener health, or forces a restart regardless of status.
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). |