Preview location targeting
convert_location_textTurn a free-text location description (e.g. 'Texas and Florida', 'Greater London', 'zip codes starting 902') into structured targeting: a region/state/DMA selection or a postcode list. Preview only — apply with set_location_targeting.
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": {
"survey_id": "<survey_id>",
"locations_text": "<locations_text>"
},
"name": "convert_location_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| survey_id | Yes | Survey id (see list_surveys, or the survey_id returned by a create tool). | |
| locations_text | Yes | Where the respondents should live (max 6000 chars). |