get_file_contents
Retrieve the contents of a file or directory from a GitLab project by specifying the project ID, file path, and branch or tag.
Instructions
Get contents of a file or directory from a GitLab project
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | Project ID or URL-encoded path (optional; falls back to env) | |
| file_path | No | Path to the file or directory. Takes precedence over 'path' when both are provided | |
| path | No | Alias of file_path | |
| ref | No | Branch/tag/commit to get contents from |