peek
Read incoming messages without deleting them to review new or unacknowledged conversations, filter by thread, and decide when to acknowledge. Use metadata mode for smaller payloads.
Instructions
Read incoming messages without deleting them. By default returns only NEW (unread) messages with full bodies. Set include_read=true to see ALL unacknowledged messages. Filter by thread_id to see a specific conversation. Use ack() to acknowledge messages when you're done with them. Also returns delivery receipts for your recently sent messages.
Modes:
mode='full' (default): each message returned with full content + payload.
mode='metadata': each message returned as {id, from, ts, priority, preview_120, size_bytes, thread_id, state} — no full body. ~80% smaller; use this for defensive polling.
since: ISO8601 timestamp filter — only return messages with timestamp >= since.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | full | |
| since | No | ||
| thread_id | No | ||
| include_read | No |