Update Monitor Tool
update-monitorUpdate a monitor. Only the fields you send change; send null to clear an optional field. The type cannot change. notification_contact_ids replaces the monitor's whole set of alert contacts.
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": {
"id": "<id>"
},
"name": "update-monitor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The monitor id to update. | |
| url | No | A full URL such as https://shop.example.com. tcp and icmp use only its host. | |
| name | No | Human-readable monitor name. | |
| port | No | tcp monitors: port 1-65535. | |
| password | No | A new basic-auth password. Leave it out to keep the stored one. | |
| username | No | HTTP basic-auth user name, or null to remove basic auth (clears the password too). | |
| is_active | No | false pauses the monitor; true resumes it. | |
| http_method | No | HTTP method. | |
| request_headers | No | Replacement request headers, name to value, or null to remove them. | |
| expected_keyword | No | keyword monitors: text expected in the response body. | |
| expected_status_codes | No | HTTP status codes counted as up. | |
| check_interval_minutes | No | Check frequency in minutes, at least the plan minimum. Clears any check_interval_seconds override. | |
| check_interval_seconds | No | Exact interval in seconds, at least the plan minimum; overrides the minutes. For a heartbeat, longer than the job period. | |
| request_timeout_seconds | No | Request timeout, 1-60 seconds. | |
| ssl_expiry_warning_days | No | Warn this many days before the certificate expires, 1-90. | |
| notification_contact_ids | No | Replacement set of contact IDs from list-notification-contacts. |