# Send File

{% hint style="info" %}
Each sent file is an [interaction](/docs/getting-started/interactions.md), a consumable resource in Proto.
{% endhint %}

The Send File action sends a predefined media or document attachment to the chat.

***

Select a **Send File** action from the tree to open its settings:

* **File format** — choose the format for its respective filetype:
  * **Image** —  jpg/jpeg, png, gif
  * **Audio** — mp3, m4a, wav
  * **Video** — mp4, avi, mov
  * **Document** — pdf, csv, doc/docx, xls/xlsx, ppt/pptx
* **Source** — supply the file with:
  * **Upload file** — upload a supported filetype from your device.
  * **File link** — a valid URL to a hosted file.
  * **Chat script** — a Python expression using Proto's [chat script](/docs/developer-documentation/chat-scripts.md) pattern.

Press **Save** to confirm edits.


---

# 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://documentation.proto.cx/docs/modules/ai-agents/workflows-and-actions/send-file.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.
