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