Multimodal Attachments
Quick Start
Send an Image via URL
POST /agents/{conversationId}/say?message=What%20is%20in%20this%20image?
Content-Type: application/json
{
"attachment_0": {
"type": "object",
"value": {
"mimeType": "image/png",
"url": "https://example.com/photo.png",
"fileName": "photo.png"
}
}
}Send an Image via Base64
How It Works
Pipeline Stages
Input Paths
Path A: URL Reference (Recommended)
Path B: Base64 Inline
Path C: File Upload
Response Code
Meaning
Context Key Format
Key
Valid?
Required Fields
Field
Required
Description
Multiple Attachments
LLM Multimodal Support
MIME Type
langchain4j Content
Provider Support
Routing with Behavior Rules
Route Images to Vision Agent
Route PDFs to Document Processor
Require Specific Attachment Count
Template Access
Architecture Notes
Last updated
Was this helpful?