file_contributors
Identify all authors who have contributed to a file, showing their commit count, line ownership, activity period, and contribution percentage for code review and collaboration.
Instructions
Shows every author who has ever committed to a file, ranked by number of commits. Includes current line ownership, commit percentage, and the date range they were active on the file.
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": {
"file": "<file>"
},
"name": "file_contributors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the file | |
| repo_path | No | Working directory / repo root (defaults to cwd) |