Sign In
Sign In

Attachments in Chats

Updated on 20 February 2026

When interacting with an agent through a chat bot, users can attach text files and images to their messages.

This option is useful in scenarios where the agent needs to analyze additional materials, such as error screenshots, photos of receipts, invoices, or other documents.

Supported formats: .bash, .bat, .cmd, .c, .cpp, .cs, .csv, .doc, .docx.gif, .go, .html, .java, .jpeg, .jpg, .js, .json, .jsx, .kt, .md, .pdf, .php, .png, .ps1, .py, .rb, .rs, .scala, .sh, .sql, .svelte, .swift, .ts, .tsx, .txt, .vue, .webp, .xls, .xlsx, .xml, .yaml, .yml, .zsh.

The maximum file size is 5 MB. Multiple files can be attached at the same time.

When processing files, the agent consumes tokens. The approximate token usage can be estimated using the formulas below.

Image: 

(Width / 512) × (Height / 512) × 700

Text:

Number of characters / 4
Was this page helpful?
Updated on 20 February 2026

Do you have questions,
comments, or concerns?

Our professionals are available to assist you at any moment,
whether you need help or are just unsure of where to start.
Email us
Hostman's Support