fetch_countries
Search countries by name, international dial code, or ISO abbreviation. Returns up to 10 results with English/Spanish names. Omit search to get all countries.
fetch_countries
When to use
Search countries by name, international dial code, or ISO abbreviation. Returns up to 10 results with English/Spanish names. Omit search to get all countries.
Parameters to validate before calling
search (string, optional) — Search term: country name, dial code (e.g. "+34"), or ISO code (e.g. "US") (optional, omit to get all)
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": "fetch_countries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Search term: country name, dial code (e.g. "+34"), or ISO code (e.g. "US") (optional, omit to get all) |