get_file_blame
Retrieve line-by-line commit authorship data for a file, showing blame information with commit details.
Instructions
Get blame/history information for a file. Returns line-by-line commit authorship data.
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": {
"repository": "<repository>",
"filePath": "<filePath>"
},
"name": "get_file_blame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Branch or commit hash (default: default branch). | |
| project | No | Project key. Defaults to BITBUCKET_DEFAULT_PROJECT. | |
| filePath | Yes | Path to the file in the repository. | |
| repository | Yes | Repository slug. |