read_events
Retrieve buffered OPC UA subscription events oldest first, removing returned items from the buffer and reporting dropped or remaining events so you can track completeness.
Instructions
Read the events buffered by subscribe_events, oldest first. The events returned are removed from the buffer, so a second call returns only what has arrived since. If the buffer overflowed in the meantime, the result says how many were dropped rather than quietly skipping them — in the structured result's completeness, which also says whether more are still buffered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of events to return (default 50). | |
| node_id | No | The subscribed notifier node to read from, as passed to subscribe_events. Defaults to the Server object 'ns=0;i=2253'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | ||
| completeness | Yes |