Close a JSM alert
jsm_close_alertCloses a JSM alert when work is complete, marking it resolved and ending all notifications; use the returned requestId to verify the asynchronous result.
Instructions
Close a JSM alert, marking it resolved and ending all notifications for it.
Closing is how an alert leaves the open queue. Treat it as effectively one-way: a closed alert cannot be reopened through this API, and a recurring condition will create a fresh alert (or increment a deduplicated one) rather than reviving this record. Prefer jsm_acknowledge_alert while work is still in progress.
Args:
alert_id (string): the full alert id (not the tinyId)
Returns: { "requestId": string, "result": string, "alert_id": string }
IMPORTANT: this action is asynchronous. Verify with jsm_get_request_status using the returned requestId.
Examples:
"Close it, the deploy fixed it" -> alert_id=, note="Resolved by rollback of build 4412"
Don't use when: the alert is still being worked — acknowledge instead.
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": {
"alert_id": "<alert_id>"
},
"name": "jsm_close_alert"
}
}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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | ||
| alert_id | Yes | ||
| requestId | No |