Mark chat as read
messenger_chat_readMark a chat's unread messages as read without alerting the other party. Use with a chat ID to clear the unread counter and record a read receipt silently.
Instructions
Marks the unread messages of the specified chat as read, recording a read receipt and clearing the unread counter. Sends NOTHING to the other party and is not visible to them; does not modify or delete any message. Idempotent: calling it again on an already-read chat is safe. Requires chat_id (from messenger_get_chats_v2).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Chat identifier (string) from messenger_get_chats_v2. | |
| user_id | No | Avito account ID that owns the chat. Defaults to Profile_id from .env. | |
| dryRun | No | v0.7.0: if true — returns a preview of the HTTP request without calling the Avito API. Safe for inspecting exactly what would be done. Default: the value of AVITO_MCP_DRY_RUN_DEFAULT (usually false). | |
| idempotencyKey | No | v0.7.0: optional key for duplicate protection. A repeat call with the same key within AVITO_MCP_IDEMPOTENCY_TTL_SEC returns the cached result. The same key with different args returns a conflict error — this is safe by design. |