Encode Geohash
encode_geohashEncode a latitude/longitude to a geohash string (keyless, offline). precision = number of characters (1-12, default 9; more chars = smaller cell).
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"lat": 40.7128,
"lon": -74.006
},
"name": "encode_geohash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude (-90..90). | |
| lon | Yes | Longitude (-180..180). | |
| precision | No | Geohash length 1-12 (default 9). |