geocode
Look up a place by name or airport code to get its coordinates, kind, latitude, and longitude, or an error; use these coordinates before distance or bearing calculations.
Instructions
Look up a place by name or airport code (e.g. "Bengaluru", "BLR") in the bundled dataset.
Returns the place's name, kind, lat and lon, or an error if nothing matches. It returns coordinates only, never distances: to get a distance or bearing, call distance_bearing next. Always call this first for any place name instead of using remembered coordinates.
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": {
"place": "<place>"
},
"name": "geocode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| place | Yes |