vs_alerts_acknowledge
Acknowledge an alert by its ID, recording the acting user and an optional note to update alert history.
Instructions
Acknowledge an alert by id. Acknowledgement is recorded with the calling API key's user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Alert id. | |
| note | No | Optional acknowledgement note (visible in alert history). |
Implementation Reference
- src/tools.ts:361-365 (handler)The handler function for vs_alerts_acknowledge. Makes a POST request to /api/alerts/{id}/acknowledge with an optional note body.
handler: async (args, client) => client.request('POST', `/api/alerts/${encodeURIComponent(requireString(args, 'id'))}/acknowledge`, { body: { note: pickString(args, 'note') }, }), },