⚠️ Send message
messenger_post_send_messageSend a publicly visible text message to an Avito chat using the chat ID and text up to 1000 characters.
Instructions
Sends a TEXT message to a chat on behalf of the account. WARNING: the message is immediately and PUBLICLY visible to the other party (the buyer) and is not removed automatically (you can delete it via messenger_delete_message). Confirm the text with the user before calling. Requires chat_id (from messenger_get_chats_v2) and text up to 1000 characters. To send an image, use messenger_post_send_image_message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Recipient chat identifier (string) from messenger_get_chats_v2. | |
| text | Yes | Message text, 1–1000 characters. Will be publicly visible to the other party. | |
| user_id | No | Avito account ID of the sender. 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. |