unbounded_consumption_auditor__scan_directory
Recursively scans LLM/agent application source directories to find unbounded consumption and denial-of-wallet anti-patterns, helping prevent cost abuse.
Instructions
Recursively scan a directory of LLM/agent application source for Unbounded Consumption / denial-of-wallet anti-patterns
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "unbounded_consumption_auditor__scan_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or relative path to the directory to scan | |
| exclude | No | Skip files/dirs whose path contains one of these strings | |
| include | No | Only scan files whose path contains one of these strings | |
| maxFiles | No | Maximum number of files to scan (default: 5000) |