Get country risk
get_country_riskFull NERAI risk read for one country: HMM regime state (Calm/Tension/Crisis with escalation probability and persistence), resilience score, and risk topics as percentiles of the 30-day average vs each series' own history (now / 90d ago / delta), with calibrated shock probabilities at 4/9/13/26-week horizons. Returns the 8 most elevated topics by default; set all_topics=true for all 40, or pass topic to filter.
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": "<country>"
},
"name": "get_country_risk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | No | Filter to topics matching this text (e.g. 'protest', 'military'). | |
| country | Yes | Country code (e.g. NI, IR, TU) or name (e.g. Nigeria). | |
| all_topics | No | Return all 40 risk topics instead of the top 8. |