Find X Ads locations
x_ads_search_locationsSearch X Ads targeting locations (countries, regions, cities) by name and return their targeting values for x_ads_create_campaign. Read-only.
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": "x_ads_search_locations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Place name, e.g. Egypt, Riyadh. | |
| language | No | Language of the card: the language the user is writing in. | |
| location_type | No | Optional filter. |