Multimodal

Images and file attachments

File Variables

Include images and documents directly in prompts using typed file variables:

image-analyst.echo
You are a product image analyst.

Analyze this product photo: {{product_image:file}}

Describe:
1. What product is shown
2. The quality of the image
3. Any issues (blurry, bad lighting, etc.)
4. Suggestions for improvement

Context References

Reference shared assets like brand guidelines or style guides:

copywriter.echo
You are a copywriter for our brand.

#context(brand-voice-guidelines)

Write marketing copy for this product: {{product.name}}
Description: {{product.description}}

The copy should match our brand voice exactly.

Supported Types

  • Images: png, jpg, jpeg, gif, webp (rendered as base64)
  • Text: txt, md, json, yaml, xml (rendered inline)