# 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>


---

# 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://mobiledocs.supgpt.app/tools/read-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.
