repo_blame
Returns line-by-line blame of a file at a ref: ranges (lines attributed to a commit sha) and commits (title, message with task keys, author, dates). Blame at the parent of a fix commit shows the lines as they were before the fix. Up to 204800 bytes (large files in ranges via startLine/endLine); renames are not tracked.
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": {
"repositoryID": "<repositoryID>",
"path": "<path>"
},
"name": "repo_blame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch, tag or sha; defaults to the default branch. | |
| path | Yes | File path from the repository root. | |
| endLine | No | Last line of the range, inclusive. | |
| startLine | No | First line of the range (1-based). | |
| repositoryID | Yes | Repository ID. |