ai_guard_scan_diff
Scan current on-disk Git changes, including untracked files, to report tests weakened by the change and flag deleted, skipped, focused, or altered tests.
Instructions
Scan current on-disk Git changes, including untracked files, and report tests the change weakened. staged selects paths, not index contents.
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": "ai_guard_scan_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| preset | No | agent | |
| staged | No | ||
| maxIssues | No | Max findings returned, errors first. Totals always count every finding; truncation is reported as RESULT_LIMIT. | |
| testIntegrity | No | Also report tests the change deleted, skipped, focused or weakened |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| clean | Yes | ||
| errors | Yes | ||
| issues | Yes | ||
| preset | Yes | ||
| status | Yes | ||
| success | Yes | ||
| scanMode | Yes | ||
| truncated | Yes | ||
| durationMs | Yes | ||
| totalErrors | Yes | ||
| totalIssues | Yes | ||
| changedFiles | Yes | ||
| filesScanned | Yes | ||
| testIntegrity | No | ||
| totalWarnings | Yes | ||
| inlineSuppressions | No |