list_repository_tree
Display the files and directories in a GitLab repository. Specify a project path, optional subpath, branch, and recursion to browse repository contents.
Instructions
List files and directories in a repository.
Args: project_path: Full path of the project (e.g., 'group/project') path: Path inside the repository to list (empty for root) ref: Branch name, tag, or commit SHA (defaults to 'main') recursive: If true, list files recursively per_page: Number of results per page (max 100)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | main | |
| path | No | ||
| per_page | No | ||
| recursive | No | ||
| project_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |