Add image to message
add_image_to_messageUpload an image and attach it to a new message on a ticket. Provide image_data (base64-encoded bytes) OR image_url (publicly accessible URL). The image is stored in ticket-attachments and linked to the message as an attachment.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ticket_id": "<ticket_id>",
"content": "<content>",
"file_name": "<file_name>"
},
"name": "add_image_to_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Text body of the message that accompanies the image | |
| file_name | Yes | Image filename with extension, e.g. screenshot.png | |
| image_url | No | Publicly accessible image URL — use this OR image_data | |
| mime_type | No | Image MIME type, e.g. image/png or image/jpeg (default: image/jpeg) | |
| ticket_id | Yes | Ticket UUID | |
| image_data | No | Base64-encoded image bytes — use this OR image_url | |
| is_internal | No | If true, internal note visible only to support staff (default: false) |