Read a watch
get_watchReturns one watch of the organisation: constraints, solution in place, challenger with its switch brief and HODDS status, challenger_reason when there is none, and the 50 most recent alerts, unacknowledged first (all: true for 200). Reading does not acknowledge. 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": "get_watch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | true: the 200 most recent alerts. | |
| watch_id | Yes | Watch id returned by watch_need or list_watches (w_...). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| need | No | Natural-language need; absent/null for CATEGORY. | |
| plan | Yes | FREE: legacy only; prepaid-v1: PAID. Organisation entitlement: GET /api/plan. No drafts. | |
| level | Yes | ||
| alerts | Yes | The 50 most recent alerts, unacknowledged first (200 with all=true). | |
| status | Yes | payment_required returns a DRAFT error, never ACTIVE success. | |
| target | No | ||
| 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. | |
| process | Yes | ||
| summary | No | One English/French sentence, per request. | |
| watch_id | Yes | ||
| duplicate | No | Opening: existing active watch reused. | |
| challenger | Yes | ||
| created_at | Yes | ||
| constraints | Yes | ||
| quiet_since | Yes | ||
| alert_budget | No | ||
| rules_version | Yes | Public computation rules identifier; see /rules/. | |
| current_choice | Yes | ||
| last_review_at | No | ||
| challenger_reason | Yes | ||
| baseline_request_id | No | Search request_id that deduced process; null if process supplied. | |
| current_choice_name | No | Unlinked name. |