# Read File

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

* Filesystem
* 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://4213268853-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCXqs9TKFSh6SF1dy2j2A%2Fuploads%2FloDt5y0gTWoVoWxi0XM9%2FScreenshot%202024-09-11%20at%2011.49.45.jpg?alt=media&#x26;token=499f40ee-3797-461a-a68a-a22449fa449b" alt=""><figcaption></figcaption></figure>
