country_flag_url
Retrieve a country flag image URL by ISO 2-letter country code, with optional size and flat PNG or SVG style, for use in web or app interfaces.
Instructions
Get a country flag image URL by ISO 2-letter code.
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_code": "<country_code>"
},
"name": "country_flag_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Size: 16, 32, 48, or 64 (default 64) | |
| style | No | flat (PNG) or svg (default flat) | |
| country_code | Yes | 2-letter ISO country code (e.g. US, GB, AU) |