Snooze a JSM alert until a given time
jsm_snooze_alertPause notifications for a JSM alert until a specified end time, keeping the alert open and unresolved; notifications resume automatically at that time.
Instructions
Silence a JSM alert's notifications until a specific instant, after which it resumes as if untouched.
Snoozing is the right tool for "we know, and there is nothing to do until the maintenance window ends" — it stops the paging without pretending the alert is resolved. Closing it would remove it from the open queue and lose the fact that it is still an open problem.
Args:
alert_id (string): the full alert id (not the tinyId)
end_time (string): ISO 8601 instant with an offset, e.g. "2026-09-05T18:30:00Z"
Returns: { "requestId": string, "result": string, "alert_id": string }
IMPORTANT: this action is asynchronous. Verify with jsm_get_request_status using the returned requestId.
Time handling is the sharp edge here. end_time is an absolute instant, not a duration — "snooze for two hours" means computing the instant yourself from the current time. A past instant is accepted, and the alert un-snoozes immediately, which looks exactly like the call having failed. Send an explicit offset ('Z' or '+05:30') rather than a bare local time.
Examples:
"Snooze this until the deploy finishes at 6pm UTC" -> end_time="2026-09-05T18:00:00Z"
"Give it an hour" -> compute now + 1h as an ISO instant, then pass it
Constraints and errors:
Snoozing a closed alert has no useful effect; close is terminal for notification purposes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alert_id | Yes | Full alert id, e.g. '9b251e07-73c9-4907-9996-8cb53a6a20d0-1704440650350'. This is NOT the short tinyId shown in the JSM UI — get the full id from jsm_list_alerts first. | |
| end_time | Yes | When the snooze ends, as an ISO 8601 instant with an offset, e.g. '2026-09-05T18:30:00Z'. Must be in the future — a past instant is accepted and the alert un-snoozes immediately. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | ||
| alert_id | Yes | ||
| requestId | No |