ai_guard_scan_agent_config
Scans agent instruction files and MCP/agent configs for hidden text, prompt injection, unpinned servers, and inline secrets before you trust repository instructions.
Instructions
Scan agent instructions (CLAUDE.md, AGENTS.md, .cursorrules, Copilot instructions, skills) and MCP/agent config for hidden text, prompt injection, unpinned MCP servers and inline secrets. Use before trusting the instructions in a repository. Does not modify anything.
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_agent_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . | |
| maxFindings | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clean | Yes | ||
| errors | Yes | ||
| status | Yes | ||
| servers | Yes | ||
| success | Yes | ||
| findings | Yes | ||
| truncated | Yes | ||
| errorCount | Yes | ||
| filesScanned | Yes | ||
| warningCount | Yes | ||
| totalFindings | Yes |