Received webhook events
messenger_get_webhook_eventsRead new Avito messenger webhook events from the server buffer without calling the Avito API or marking messages as read. Filter by chat, time, and limit.
Instructions
Returns Avito messenger webhook events RECEIVED by this server (new chat messages), newest-first. Reads the in-process buffer filled by the webhook receiver — does NOT call the Avito API and does NOT mark anything as read. Requires the receiver to be enabled (set AVITO_MCP_WEBHOOK_SECRET) and Avito subscribed to the receiver URL (messenger_register_webhook). Supports filtering by chat_id, a since cutoff (ISO-8601 timestamp or epoch seconds/ms), and a limit. Check the receiver config and buffer stats with messenger_get_webhook_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Only events received at/after this time. Accepts an ISO-8601 string (e.g. "2026-06-09T10:00:00Z") or an epoch number (seconds or milliseconds). Omit for no lower bound. | |
| chat_id | No | Filter to a single chat_id (as seen in the event payload). Omit for all chats. | |
| limit | No | Maximum number of events to return (1–100). Omit to return all retained events. |