list_files
Retrieve a paginated flat list of file paths from a repository directory. Specify project, repository, path, and optional branch or commit.
Instructions
List file paths in a repository directory (paginated).
Returns a flat list of file paths (strings), unlike browse_files which returns structured entries.
Args: project_key: The project key. repo_slug: The repository slug. path: Path within the repository (empty for root). at: Optional branch name, tag, or commit ID (defaults to default branch). start: Page start index (default 0). limit: Number of results per page (default 25).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_key | Yes | ||
| repo_slug | Yes | ||
| path | No | ||
| at | No | ||
| start | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |