Clean up place names
match_placesTurn messy place names into standard names and codes: countries (ISO 3166 codes), the states/provinces/regions of one country (ISO 3166-2 codes) or US counties (FIPS codes). Understands other languages, abbreviations and typos ("Bayern", "BY", "Bavarai" → Bavaria, DE-BY). Use it to clean a column of locations before a map, a join or a report.
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": {
"names": "<names>"
},
"name": "match_places"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | country (default without 'country'), region (needs 'country') or county (US). | |
| names | Yes | ||
| state | No | For US counties: limit to one state, e.g. 'TX'. | |
| country | No | For regions: the country, e.g. 'DE' or 'Germany'. |