⚠️ Delete message
messenger_delete_messageDelete a single message from an Avito chat using its message ID. Irreversible action that leaves a 'deleted' marker visible to the chat partner.
Instructions
Deletes a SINGLE message from a chat by message_id. WARNING: IRREVERSIBLE — the message cannot be restored; the deletion is visible to the other party (a "deleted" marker remains in place of the message). You can usually delete only your own messages. Requires chat_id and message_id (from messenger_get_messages_v3). Always confirm with the user before calling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Chat identifier (string) from messenger_get_chats_v2. | |
| message_id | Yes | Identifier (string) of the message to delete, from messenger_get_messages_v3. | |
| user_id | No | Avito account ID that owns the message. 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. |