Geocode a place
asterwise_geocodeTurns a place name into latitude, longitude and IANA timezone for the other tools, which all take lat, lon and timezone.
WORKFLOW: BEFORE: None. AFTER: any tool that takes lat, lon and timezone — asterwise_get_natal_chart, asterwise_get_panchanga, asterwise_get_muhurta, asterwise_get_festival_calendar and others.
INPUT CONTRACT: query: place name, at least 2 characters (required). limit: 1-10 (default 5). country: optional ISO 3166 alpha-2 code.
DO NOT CONFUSE WITH: None — this is the only place-lookup tool.
Full output and error contract: https://docs.asterwise.com/mcp/tools/geocode/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum matches to return (1-10). | |
| query | Yes | Place name, e.g. 'Pune' or 'Fatehabad, Haryana'. | |
| country | No | Optional ISO 3166 alpha-2 country code to narrow the search, e.g. 'in'. | |
| response_format | No | Output format: 'markdown' (default) for a readable report, or 'json' for the raw structured payload. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |