bitrix24_task_post_image
Post images as inline thumbnails in Bitrix24 task chat messages. Each image file gets its own message with the same caption, ensuring inline display without clicking.
Instructions
Post chat message(s) to a Bitrix24 task with images that render INLINE as thumbnails (not just filename links). Use this for screenshots, design mockups, photo evidence — anything where the reader should see the image without clicking through. Each local file path is uploaded to disk, then a SEPARATE chat message is posted per image (Bitrix renders multi-image single-messages with broken second-image placeholders — verified 2026-05-19). The same message caption is reused on each image's message; if you want per-image captions, call this tool once per image with a distinct message. Returns array of IM message IDs (one per image). Files are saved to B24 disk (folder 732896 by default) so they're permanently accessible, but NOT added to UF_TASK_WEBDAV_FILES — for that, use bitrix24_task_attach_file separately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | Task ID to post into | |
| message | Yes | Caption posted above each image. Same text on every message. Supports BBCode ([B]…[/B], [URL=…]…[/URL], [USER=ID]Name[/USER]). For distinct per-image captions, call this tool multiple times with single-element filePaths arrays. | |
| folderId | No | Disk folder ID for upload. Default 732896 (shared 'Блог' folder, verified writable for user 854). | |
| filePaths | Yes | Array of absolute local paths to image files (PNG / JPG / WebP). One message posted per file. |