top_countries
Rank countries by a chosen metric like downloads or crashes over a set period, optionally filtered by app or product. Returns the top countries for that metric.
Instructions
Ranked countries for a metric over a date range.
Args: metric: Which metric to rank by. limit: How many countries to return. days: Look-back window. app_id: Restrict to one store listing. product_id: Restrict to one product.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "top_countries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| limit | No | ||
| app_id | No | ||
| metric | No | downloads | |
| product_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |