relay_reconnect
Heal a stale Mercure relay connection by checking backend status and relaunching the listener if needed. Use force to bypass the 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.
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": "relay_reconnect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Restart even if the backend reports the listener as connected (default: false). |