get_guardian_alerts
Retrieve pending alerts from active Guardians to identify hallucinations, dead code, and API mismatches before runtime. Returns a compact summary with a path to the full alert file.
Instructions
Get pending alerts from all active Guardians. Returns a compact summary with a pointer to the full LLM-readable alerts file (codeguardian-alerts.json) in the project root.
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": "get_guardian_alerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summaryOnly | No | If true, returns only a compact summary with file path to full alerts. Useful to avoid LLM context overflow. Default: false. | |
| clearAfterRead | No | Deprecated: Alerts are now persistent until issues are resolved. This flag is ignored. |