Poll Events
poll_eventsEvents after cursor (pointers only, no bodies), waiting up to wait_seconds.
cursor=null starts at the current position (no replay). Pass next_cursor
back each time. Delivery is at least once: deduplicate by event_id. seq is
gap-free per workspace. types accepts prefixes (doc.*). for_me returns events
whose targets include you. With subscription_id the subscription's prefixes
apply, plus every event addressed to you. A cursor older than retention
returns cursor_expired: resync with workspace_sync(since=null).
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": "poll_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| types | No | ||
| cursor | No | ||
| for_me | No | ||
| namespaces | No | ||
| wait_seconds | No | ||
| subscription_id | No | ||
| written_by_subtree | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||