getCommitHistory
Retrieve and analyze GitHub commit history for a repository to track changes, filter by author, include diffs, and paginate results over a specified time period.
Instructions
Track the evolution of your Obsidian vault knowledge base by retrieving commit history from GitHub (johndoe-org/obsidian-vault). See how your notes and ideas have developed over time with detailed diffs.
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": {
"days": "<days>"
},
"name": "getCommitHistory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| author | No | Filter commits by author username | |
| days | Yes | Number of days to look back for commits | |
| includeDiffs | No | Whether to include actual file changes/diffs (default: true) | |
| maxCommits | No | Maximum number of commits to return | |
| page | No | Page number for pagination (0-indexed) |