Fetch GitLab repository file URL
fetch_gitlab_file_urlRetrieve the contents of a file from a GitLab repository by providing its blob, raw, or API URL, with optional line range and size limits.
Instructions
Fetch bounded UTF-8 repository-file content from a same-instance GitLab blob, raw, or repository-files API URL.
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": {
"url": "<url>"
},
"name": "fetch_gitlab_file_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| end_line | No | ||
| max_bytes | No | ||
| start_line | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | GitLab response normalized for model use. |