detect_dark_patterns
Identify dark patterns in UI text, HTML, or URLs. Get a list of detected patterns with pattern type, confidence, and evidence.
Instructions
Detect dark patterns in UI text, HTML, or URL.
Args: input_type: "html", "text", or "url" content: The HTML content, plain text, or URL to analyze
Returns: List of detected patterns with pattern_id, pattern_type, confidence, evidence
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": {
"input_type": "<input_type>",
"content": "<content>"
},
"name": "detect_dark_patterns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| input_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |