Get document events
get_eventsTyped dates and links extracted from official notices: publication, effective, expiry and consultation_end events, and amends, repeals, implements and cites relations. Every item carries span (the verbatim sentence it came from where the text is approved for publication, otherwise text is null and withheld is true), method, confidence and needs_review. Items needing review are hidden unless include_review is true. A date the notice does not state is absent. Same read as GET /api/notice_dates. Schema: /data/events.schema.json. Complements get_changes: get_events returns dates and links extracted from the text of official notices (effective, expiry and consultation_end dates, amends and repeals relations), while get_changes tells you which documents were added or revised since a time. Read-only pilot data; each item carries the verbatim sentence it came from. Filter by event_type, relation_type, source, from and to; limit is 1 to 100 (default 50).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Latest event date, YYYY-MM-DD. | |
| from | No | Earliest event date, YYYY-MM-DD. | |
| limit | No | Maximum events to return. | |
| doc_id | No | A record id such as documents:25376 (events and relations of that notice). | |
| source | No | Exact publisher label. | |
| event_type | No | Restrict to one event type from the pilot event schema. | |
| relation_type | No | Restrict to one relation type from the pilot event schema. | |
| include_review | No | Also return items a person should check. Default false. |