Events Poll
events_pollRead buffered CozyVTT campaign events and asynchronous write errors without consuming them, so you can inspect pending WS writes and page through updates by sequence.
Instructions
Read buffered campaign events and asynchronous write errors without consuming them. Use after WS writes; use chat_read for persisted chat history. May connect WS lazily, but does not change game state. Returns earliest seq > since first; advance using next_seq (latest_seq is its alias), not high_water_seq. Check gap for eviction from the 500-event buffer, cursor_reset after process restart, and has_more for pagination. Inspect system.error and relevant state to assess pending writes; broadcasts are not correlated ACKs. Buffered events remain available on connection failure, marked stale; this is not durable dice history. v1.5.0 role/map/token notifications are also forwarded; drag frames remain observations, not proof of persisted state. Repeated reads can include newly arriving events. Returns {ok:true,data} on success; tool-body failures return {ok:false,error} with optional diagnostic data. Argument-schema errors are MCP errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum events per page, 1..500; defaults to 100. Continue with next_seq when has_more is true. | |
| since | No | Last next_seq received, integer >=0; 0 starts at the oldest retained event. A cursor beyond this process resets to 0. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||