risk_score
Evaluate a UI pattern's legal compliance risk for a chosen region, returning a risk score, violated regulations, and enforcement likelihood to guide ethical redesign.
Instructions
Assess legal/compliance risk of a pattern.
Args: pattern_id: The ID of the pattern region: Geographic region (EU, US, India)
Returns: Dictionary with risk score, violated regulations, enforcement likelihood
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": {
"pattern_id": "<pattern_id>",
"region": "<region>"
},
"name": "risk_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | Yes | ||
| pattern_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |