get_file_tool
Retrieve file content and metadata from a GitLab repository using project ID and file path. Specify an optional branch, tag, or commit SHA to fetch a specific version.
Instructions
Get a file from a GitLab repository.
Returns file metadata and content (base64 encoded).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch, tag, or commit SHA (default: HEAD) | HEAD |
| file_path | Yes | Path to the file in the repository | |
| project_id | Yes | Project ID or path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||