git-blame
Per-line authorship for a file.
id tool/git-blamev1.0.0function git_blame
Signature
| Parameter | Type | Required | Description |
|---|---|---|---|
path | string | yes | File path |
rev | string | no | Revision to blame (default: HEAD) |
| returns | array | Annotated lines. |
Tool definition for the model
{
"name": "git_blame",
"description": "Annotate each line with its last commit.",
"input_schema": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "File path"
},
"rev": {
"type": "string",
"description": "Revision to blame (default: HEAD)"
}
},
"required": [
"path"
]
}
}Author convergent-systems-key. Source convergent-systems-co/agent-atoms (original ↗). License Apache-2.0. Re-typed from tool-definition by scripts/migrate-policy-tool.py.