Get customer count for a country
get_customers_by_countryRetrieve customer count for any country by passing a country name. Returns zero for unknown countries, enabling accurate answers to customer distribution queries.
Instructions
Returns how many customers are registered in a given country (case-insensitive match, e.g. 'germany' matches 'Germany'). An unknown country is a successful result with count 0, not an error. Use this to answer questions like 'how many customers are from Germany?'.
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_customers_by_country"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes |