get_file_history
Retrieve commit history for a file, including renames, from a GitHub repository. Use this to track changes and past modifications.
Instructions
Commit history for a specific file (follows renames).
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": {
"repo_path": "<repo_path>",
"filepath": "<filepath>"
},
"name": "get_file_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | ||
| repo_path | Yes |