cookie_dark_patterns
[Deterministic banner UX analysis. Pure inspection, read-only, side-effect free]. Audits cookie banner markup and modals for illegal deceptive patterns under EDPB Guidelines 03/2022 and Garante Privacy rules: asymmetric button styling (nudging), missing first-layer reject button, pre-ticked checkboxes, and confirmshaming. Usage: Use this tool to detect manipulative consent UI design. For technical tracking script firing checks, use 'gdpr_cmp_tracker_audit' instead. Returns: JSON object with { hasRejectButtonFirstLayer: boolean, hasAsymmetricStyling: boolean, hasPreTickedCheckboxes: boolean, darkPatternViolationsCount: number, edpbComplianceStatus: 'COMPLIANT' | 'NON_COMPLIANT', identifiedPatterns: string[] }.
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": "cookie_dark_patterns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Target website URL to fetch and audit (e.g. https://novapixel.it) | |
| htmlContent | No | Raw HTML content of page or CMP banner |