Dead man's switch
deadmanDead-man switch for a person or a long job: unless someone checks in every interval_seconds (60+, default
one day) plus grace, on_miss runs once (same shapes as heartbeat). create returns write_token, checkin_token
and checkin_url, a page where a person checks in with a button; give them that link. Pass write_token as
token (checkin_token works for checkin and read). read(status, wait_seconds) waits for a change. After a
miss only rearm restarts it.
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": "deadman"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| token | No | ||
| action | Yes | ||
| status | No | ||
| message | No | ||
| on_miss | No | ||
| ttl_seconds | No | ||
| wait_seconds | No | ||
| grace_seconds | No | ||
| interval_seconds | No |