⚠️ Send image
messenger_post_send_image_messageSend a publicly visible image to an Avito chat using a pre-uploaded image ID. The image must be uploaded first via the upload images tool.
Instructions
Sends an IMAGE (by an already-uploaded image_id) to a chat on behalf of the account. WARNING: the image is immediately and PUBLICLY visible to the other party. Two-step process: first upload the file via messenger_upload_images and obtain an image_id, then call this tool. For text, use messenger_post_send_message. Confirm sending with the user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Recipient chat identifier (string) from messenger_get_chats_v2. | |
| image_id | Yes | ID of a previously uploaded image, returned by messenger_upload_images. | |
| 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. |