Neighbouring countries
get_bordersThe countries that share a land border with a country. An island nation returns an empty list.
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_borders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Language for names, capitals and links. | en |
| country | Yes | Country name in any supported language, or an ISO code. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Its two-letter ISO code. | |
| country | Yes | The country that was asked for. | |
| play_url | Yes | A page on the site to play. Share it once. | |
| neighbours | Yes | Empty for an island nation. |