Blame file
gitlab_blame_fileIdentify which commit last changed each line of a file in GitLab. Provide file path, ref, and optional line range to see per-line authorship details.
Instructions
Per-line authorship for a file.
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": {
"file_path": "<file_path>",
"ref": "<ref>"
},
"name": "gitlab_blame_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Branch, tag or SHA | |
| file_path | Yes | ||
| range_end | No | ||
| project_id | No | Project id or URL-encoded path, e.g. `42` or `group/subgroup/project`. Falls back to GITLAB_PROJECT_ID. | |
| range_start | No | First line (1-based) |