git_history
Analyze git history to attribute file changes per line, identify most-changed files, or discover files that frequently change together.
Instructions
Analyze git history: blame, churn, or change coupling.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "git_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "blame" (per-line attribution), "churn" (most-changed files), or "coupling" (files that change together) | blame |
| since | No | date filter for churn (e.g., "6 months ago") | |
| top_n | No | max results for churn/coupling (default 20) | |
| file_path | No | required for blame, optional filter for coupling | |
| min_commits | No | minimum co-change count for coupling (default 3) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |