search_municipalities
Search Chilean municipalities by name, with optional region filtering. Fuzzy matching ignores accents and case, so 'nunoa' finds 'ÑUÑOA'.
Instructions
Fuzzy-search Chilean municipalities by name, optionally filtered by region.
Matching is accent- and case-insensitive ("nunoa" also finds "ÑUÑOA").
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": "search_municipalities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results (default 10). | |
| query | Yes | Free-text municipality name (e.g. "santiago", "nunoa"). | |
| region | No | Optional official region code restricting the search (e.g. "13"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |