gitBlame
Identify the last modifier and commit for each line of code to trace why it was written or find the introducing commit.
Instructions
Per-line last modifier and commit. Trace why code was written or find the introducing commit.
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": "gitBlame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endLine | No | Last line number to blame (1-based, inclusive). Omit for end of file. | |
| filePath | Yes | Workspace or absolute path to the file | |
| startLine | No | First line number to blame (1-based, inclusive). Omit for start of file. |