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

# List Files

The List Files tool allows the model to retrieve a list of all generated or knowledge files associated with the current chat session.

<figure><img src="https://4213268853-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCXqs9TKFSh6SF1dy2j2A%2Fuploads%2FYd0EBWRzdmajs3t3yLYx%2FScreenshot%202024-09-11%20at%2011.59.04.jpg?alt=media&amp;token=af585665-e605-4561-997a-1ae376fa7a51" alt=""><figcaption></figcaption></figure>
