List project files
list_filesList all Overleaf project files by kind (LaTeX, bibliographies, figures) after pulling latest commits; filter by extension or include untracked files to find exact paths before editing.
Instructions
List every file in the project, grouped by kind (LaTeX sources, bibliographies, figures, other), after pulling the latest commits from Overleaf. Use it to find exact paths before reading or editing; use project_summary when counts are enough, and search_project to find which file mentions something. Files sparse checkout keeps off disk are listed too, since they are still part of the project. extension keeps only paths ending in that suffix, case-insensitively, and filters untracked files as well; includeUntracked adds files created locally that push_changes has not committed yet, marked (untracked). Returns the file count and the likely main document, then the paths under each kind. If the pull conflicts with unpushed local work, it fails, keeps that work, and says how to resolve it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Which project to use: its Overleaf address, its 24-character id, or a registered project name. Omit to use the default project. | |
| extension | No | Case-insensitive extension, e.g. tex or .bib; omitted lists all kinds. | |
| includeUntracked | No | Also list files created locally and not yet pushed to Overleaf, excluding ignored build artifacts (default false). |