Update a Cronitor monitor
update_monitorUpdate one monitor by key while preserving omitted API fields, including nested request fields. An unchanged [REDACTED URL] marker preserves the saved URL. Supply a complete URL to replace it. Request headers and cookies are replacement maps: use {} to clear them, and an empty body to clear it. To reconnect an MCP check with OAuth, call start_mcp_oauth and pass mcp.oauth_connection.
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": {
"key": "<key>"
},
"name": "update_monitor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Stable monitor key. | |
| mcp | No | ||
| name | No | Human-readable monitor name. | |
| note | No | ||
| site | No | ||
| tags | No | ||
| type | No | Monitor type. | |
| group | No | ||
| notify | No | Monitor notification configuration. | |
| paused | No | Whether the monitor is paused. | |
| request | No | ||
| metadata | No | ||
| platform | No | ||
| timezone | No | ||
| schedules | No | One or more monitor schedules. | |
| assertions | No | Check assertions, for example 'response.code = 200'. | |
| defaultName | No | SDK-generated default name. | |
| defaultNote | No | SDK-generated default note. | |
| statuspages | No | Status-page keys where the monitor is auto-published. | |
| environments | No | Environment keys where the monitor is active. | |
| grace_seconds | No | Additional seconds allowed for expected runs, completions, or heartbeats before schedule alerts. Also extends maximum-duration limits for jobs. Does not delay explicit fail events or affect check or site alerts. | |
| realert_interval | No | ||
| failure_tolerance | No | ||
| schedule_tolerance | No | ||
| tolerated_failures | No | Deprecated failure tolerance field. | |
| consecutive_alert_threshold | No | Maximum consecutive alerts before alerting is automatically paused until recovery. Applies to free accounts, excluding check monitors. |