get_commit_history_for_file
Retrieve commit history for a specific file, showing who changed it and how often.
Instructions
Get the commit history for a specific file, showing who changed it and how frequently.
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>",
"repoSlug": "<repoSlug>"
},
"name": "get_commit_history_for_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the file within the repository (e.g. src/auth.ts) | |
| repoSlug | Yes | Repository slug (e.g. my-repo) | |
| limit | No | Maximum number of commits to return (default 50) |