poll_messages
Read session messages newer than a specified sequence number without advancing the read cursor, allowing separate acknowledgment.
Instructions
Read messages in this session newer than a sequence number. Read-only: it does not advance the caller's cursor — call ack_messages for that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after_seq | No | Defaults to the caller's acked cursor. | |
| thread_id | No | Restrict to one thread. | |
| max_results | No | Capped at 50, matching cpg_query. | |
| binding_token | No | Opaque token returned by this agent's join_session or plan_session. Required for reliable identity when logical agents share an MCP connection. | |
| mentions_only | No | Only messages mentioning the caller or broadcasting to '*'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| has_more | Yes | ||
| messages | Yes | ||
| next_cursor | Yes |