searchGeoLocations
Find countries, cities, or regions for ad targeting by querying location names and filtering by type, with configurable result limits.
Instructions
Search for geographic locations for targeting (countries, cities, regions, etc.).
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": {
"query": "<query>"
},
"name": "searchGeoLocations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results. Default: 25 | |
| query | Yes | Location name to search for | |
| locationTypes | No | Filter by location type (e.g. ["country", "city", "region"]) |