Heartbeat monitor
heartbeatDead-man's switch: ping at least every interval_seconds (default 300) plus grace. On a miss, status becomes missed and on_miss runs once: {"type":"notify"} (default), {"type":"enqueue","queue_id":...,"channel":..., "payload":...} or {"type":"put_key","key":...,"value":...}. No outbound HTTP. read(status, wait_seconds) waits for a change; ping re-arms.
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": {
"action": "<action>"
},
"name": "heartbeat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| action | Yes | ||
| status | No | ||
| on_miss | No | ||
| ttl_seconds | No | ||
| wait_seconds | No | ||
| grace_seconds | No | ||
| interval_seconds | No |