gitlab_get_file
Read file content from a GitLab repository by specifying file path, project, branch, and raw option.
Instructions
从 GitLab 读取文件内容
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": {
"filePath": "<filePath>"
},
"name": "gitlab_get_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | 是否返回原始内容 (默认 true) | |
| ref | No | 分支/标签 (默认: master) | |
| project | No | 项目路径 (默认: 后端项目) | |
| filePath | Yes | 文件路径 (如 src/main/java/.../UiPageController.java) |