gitlab_get_file
Retrieve the content of a file from a GitLab repository. Specify the project, file path, and optionally a branch, tag, or SHA to read the file's contents.
Instructions
Read a repo file's content (read-only). Truncated for token efficiency.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | branch/tag/SHA (default 'main'). | main |
| project | Yes | numeric ID or 'group/repo' path. | |
| file_path | Yes | path within the repo, e.g. 'src/utils/auth.js'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||