> For the complete documentation index, see [llms.txt](https://mobiledocs.supgpt.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mobiledocs.supgpt.app/tools/read-file.md).

# Read File

The Read File tool enables the model to access and read text-based files from two distinct sources:

* Generated files
* Knowledge files

{% hint style="info" %}
If the size of the file contents exceeds the token limit set for the context window limit, the file will not be sent to the model.
{% endhint %}

{% hint style="info" %}
It is recommended to specify the desired source when asking the model to read a file. This ensures accurate retrieval of the intended content.
{% endhint %}

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