Update a heartbeat
update_heartbeatUpdate a heartbeat by ID, the fields left out keep their current value and the ones sent replace it entirely, like the whole tags list. A new interval or grace expects the next ping within the new interval and grace from now, and the ping URL stays the same.
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": {
"project_id": "<project_id>",
"heartbeat_id": "<heartbeat_id>"
},
"name": "update_heartbeat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Heartbeat name | |
| tags | No | Resource tags, made of lowercase letters, numbers, `.`, `_`, `:` and `-`. An organization can have up to 200 tags. | |
| grace | No | Time allowed after an expected ping before it counts as missed, in seconds, a whole number of minutes from 1 minute to 7 days | |
| interval | No | Expected time between two pings, in seconds, a whole number of minutes from 1 minute to 31 days | |
| project_id | Yes | ID of the project to act on, see whoami | |
| display_name | No | Public name of the heartbeat on status pages, defaults to the heartbeat name | |
| heartbeat_id | Yes | ID of the heartbeat to update | |
| incident_confirmations | No | Number of uninterrupted missed or failed pings required to create an incident | |
| recovery_confirmations | No | Number of uninterrupted successful pings required to resolve an incident |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Heartbeat ID | |
| name | No | Heartbeat name | |
| tags | No | Resource tags, made of lowercase letters, numbers, `.`, `_`, `:` and `-`. An organization can have up to 200 tags. | |
| grace | No | Time allowed after an expected ping before it counts as missed, in seconds, a whole number of minutes from 1 minute to 7 days | |
| paused | No | Whether the heartbeat is currently paused | |
| status | No | Heartbeat current status, `waiting` until its first ping, and until its next ping after an incident is recovered or deleted by hand | |
| interval | No | Expected time between two pings, in seconds, a whole number of minutes from 1 minute to 31 days | |
| ping_url | No | URL to request with GET, HEAD or POST when the job succeeds, add `/fail` to report a failure | |
| created_at | No | Date of creation for the entity | |
| project_id | No | Parent project ID | |
| updated_at | No | Date of last update for the entity | |
| display_name | No | Public name of the heartbeat on status pages, defaults to the heartbeat name | |
| last_pinged_at | No | Date of the last successful or failed ping with a 1 minute accuracy | |
| incident_confirmations | No | Number of uninterrupted missed or failed pings required to create an incident | |
| recovery_confirmations | No | Number of uninterrupted successful pings required to resolve an incident |