anomaly_score
Assess country-day anomaly using isolation forest. Lower scores indicate more anomalous days; top 26% flagged as anomalies for second opinion.
Instructions
Unsupervised Isolation-Forest anomaly score for a country-day. Lower (more negative) = more anomalous; is_anomaly=true means top 26% most anomalous. Second opinion — pair with classifier_score and forecast_multi_horizon.
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": {
"country_code": "<country_code>"
},
"name": "anomaly_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country_code | Yes | ISO 3166-1 alpha-2 country code |