Get Commit History
get_commit_historyRetrieve repository commit history filtered by branch, file path, scope, or date to review changes and audit high-impact commits.
Instructions
Retrieve commit history for the current repository
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Git reference (branch, tag, commit). Default: HEAD | |
| path | No | Filter by specific file or directory path | |
| scope | No | Filter commits by a specific scope | |
| since | No | Show commits more recent than a specific date (e.g. "2023-01-01") | |
| sortBy | No | Sort commits by date or impact score | |
| maxCount | No | Maximum number of commits to return. Default: 50 | |
| use_test_db | No | ||
| techDebtAudit | No | Filter for high impact commits with low trust or missing validation |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Error code (e.g. VALIDATION_ERROR, INTERNAL_ERROR) | |
| error | No | Human-readable error message | |
| commits | No | ||
| details | No | Additional error context | |
| success | Yes | ||
| category | No | Error category (validation, query, connection, internal) | |
| changelog | No | ||
| suggestion | No | Suggested fix for the error | |
| recoverable | No | Whether the error is recoverable | |
| aggregated_errors | No | Details of individual errors in a multi-step operation |