List municipalities of a state
list_municipalitiesRetrieves the municipalities or alcaldías for a Mexican state by PostalKit state ID or two-digit INEGI state code, so you can map states to their local administrative divisions.
Instructions
List the municipalities (municipios, or alcaldías in CDMX) of a state, by PostalKit state ID or two-digit INEGI state code.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_municipalities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state_id | No | PostalKit state ID from list_states | |
| state_code | No | Two-digit INEGI state code, e.g. '09' for Ciudad de México |