compare_countries
Compare two to six countries side by side on capital, region, population, area, languages, and currencies. An exact common name is chosen when a search also returns other countries, such as Guinea among the Guineas. Pass ISO codes when the name is still ambiguous. Use get_indicator to compare GDP, inflation, or a year range.
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": {
"countries": "<countries>"
},
"name": "compare_countries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| countries | Yes | Country names or ISO codes, from 2 to 6. |