Rate an alert
rate_alertMarks one alert relevant or not_relevant, with an optional note of at most 500 characters. It never changes ranking. 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>",
"alert_id": "<alert_id>",
"rating": "<rating>"
},
"name": "rate_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional note. | |
| rating | Yes | relevant or not_relevant. | |
| alert_id | Yes | Alert id (a_...). | |
| watch_id | Yes | Watch id returned by watch_need or list_watches (w_...). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rating | Yes | ||
| 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. | |
| alert_id | Yes |