ai_guard_scan_project
Scans a workspace directory using built-in presets and exclusions to report issues while failing on resource limits instead of silently truncating results.
Instructions
Scan a workspace directory using existing presets and exclusions. Fails on resource limits instead of silently truncating.
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_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . | |
| preset | No | agent | |
| maxFiles | No | ||
| maxIssues | No | Max findings returned, errors first. Totals always count every finding; truncation is reported as RESULT_LIMIT. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clean | Yes | ||
| errors | Yes | ||
| issues | Yes | ||
| preset | Yes | ||
| status | Yes | ||
| success | Yes | ||
| truncated | Yes | ||
| durationMs | Yes | ||
| totalErrors | Yes | ||
| totalIssues | Yes | ||
| filesScanned | Yes | ||
| totalWarnings | Yes | ||
| inlineSuppressions | No |