audit_git_commits
Audit recent git commits to identify security risks and complexity issues in changed code. Get per-commit grades and actionable findings.
Instructions
Audit recent git commits in a repository. Extracts changed files and runs static analysis (security scan, complexity) on each commit. Returns per-commit grades, security findings, and complexity violations.
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": "<repo>"
},
"name": "audit_git_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Path to the git repository to audit. | |
| since | No | Audit commits since date (e.g., '3 days ago', '2026-03-01'). | |
| author | No | Filter commits by author name. | |
| commits | No | Number of recent commits to audit (default: 10). | |
| severity | No | Minimum security finding severity (default: low). | low |
| threshold | No | Complexity threshold for flagging functions (default: 10). |