get_country_churn
Per-country participant churn
New (joiner) vs departed (leaver) participants for one country, as a daily series and an all-time monthly rollup, from the hourly churn rollup. A valid but unknown country returns empty arrays. Keyless-cacheable.
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": {
"code": "<code>"
},
"name": "get_country_churn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Inclusive upper bound of the daily series (YYYY-MM-DD UTC). Defaults to today. | |
| code | Yes | Two-letter country code (ISO 3166-1 alpha-2), case-insensitive. | |
| from | No | Inclusive lower bound of the daily series (YYYY-MM-DD UTC). Defaults to 30 days ago. |