gitlab_get_file
Retrieve a file's content from a GitLab repository at a specified branch, tag, or commit reference to supply accurate project context.
Instructions
Read one file from a GitLab repository at a branch, tag, or commit ref.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>",
"path": "<path>"
},
"name": "gitlab_get_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | HEAD | |
| path | Yes | ||
| project | Yes |