Acknowledge alerts
ack_alertsAcknowledges alerts of one watch (alert_ids, or all: true for every alert of this watch); the only call that empties the pending delivery. Returns the number acknowledged and the number remaining for the organisation; a replay changes nothing. Needs an organisation token (Authorization: Bearer hodds_...); without it the tool returns the error token_required.
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": {
"watch_id": "<watch_id>"
},
"name": "ack_alerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | true: every alert of this watch. | |
| watch_id | Yes | Watch id returned by watch_need or list_watches (w_...). | |
| alert_ids | No | Alert ids (a_...). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| acked | Yes | Alerts acknowledged by this call. | |
| pending | No | Delivery on the next call: alerts that wait for this organisation. Absent when there is nothing to deliver. Only ack_alerts empties it. | |
| summary | No | One sentence in English, or in French when the request was in French. | |
| remaining | Yes | Unacknowledged alerts left for the organisation. |