# Image & File Upload

Users can upload files during the conversation to enable document-based interaction with the AI Agent.

* It supports .png, .jpg, .jpeg, .webp, and .pdf formats.&#x20;

{% hint style="info" %}
When you open the "Code Interpreter" tool from the Tools tab, it supports the following formats: .c, .cs, .cpp, .csv, .doc, .docx, .html, .java, .json, .md, .pdf, .php, .pptx, .py, .rb, .tex, .txt, .css, .js, .sh, .ts, .jpeg, .jpg, .gif, .pkl, .png, .tar, .xlsx, .xml, .zip.
{% endhint %}

* Uploaded files are automatically analyzed by the AI Agent to generate intelligent, context-aware responses based on the document content.
* The agent can reference specific excerpts from the file to provide more detailed and accurate answers.

For example, a user can upload their resume and receive tailored job suggestions or feedback.

A drag-and-drop interface is available, making it easy and intuitive for users to upload their documents directly into the chat window.

<figure><img src="/files/YA46eXIF2TVL6TfMjUiE" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aicado.ai/creating-ai-agent/features/image-and-file-upload.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
