Search Commits
search_commitsSearch commit history by query to find relevant changes and filter results by scope, date, impact, or tech debt risk in project memory.
Instructions
Search commit history by query
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Search query to match in commit messages | |
| scope | No | Filter commits by a specific scope | |
| 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 |