> 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="https://4141541894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl72zlBe6gCpqfuDR1ofJ%2Fuploads%2Fzn0TJzReKKJHQttwcZA5%2FImage%20Layer.tiff?alt=media&amp;token=fbae32e3-53df-4fc9-b58c-796e06e74b11" alt=""><figcaption></figcaption></figure>
