add_comment_with_image
Add a comment with an inline image to a Plane task. Uploads the image as a task attachment, embeds it in the comment HTML, and shows it in the task's Attachments tab.
Instructions
Post a comment with an embedded inline image.
Workflow: upload the file as a task attachment (which gives a stable Plane asset URL), build an tag with the absolute URL, splice it into body_html, sanitize, and post the comment. The image will also appear in the task's Attachments tab — Plane's public API doesn't expose a comment-scoped asset entity type, so any inline image is also a regular attachment by design.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt | No | Alt text for the embedded image. Defaults to filename. | |
| issue_id | Yes | Task UUID. | |
| body_html | Yes | Comment body as HTML. If it contains the literal token {image}, the uploaded image's <img> tag replaces it. Otherwise the image is prepended above the body. | |
| mime_type | No | MIME type override. Auto-detected from extension if omitted. | |
| image_path | Yes | Absolute or CWD-relative path to a local image file (png, jpeg, gif, webp, svg, bmp, tiff). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||