firewall_record_delta
Report code near-misses to improve the Code Firewall MCP's threat detection by submitting legitimate variants or new dangerous patterns for classifier training.
Instructions
Record a near-miss variant to help sharpen the classifier.
Use this when code is similar to a blacklisted pattern but represents a legitimate use case, or when a new variant of a dangerous pattern is discovered.
Args: file_path: Path to code file code: Code string (alternative to file_path) similar_to: Pattern ID this is similar to notes: Notes about why this is being recorded language: Programming language
Returns: {"status": "recorded", "delta_id": str}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | ||
| code | No | ||
| similar_to | No | ||
| notes | No | ||
| language | No | python |