Geocode a Thai address
mapscale_geocodeGeocode a query to coordinates. Accepts Thai-script or English queries (addresses, POIs, Thai administrative areas such as province, district and subdistrict) and returns a Mapbox-shaped GeoJSON FeatureCollection built on OpenStreetMap data. Requires a secret (sk_) key.
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": {
"q": "<q>"
},
"name": "mapscale_geocode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Free-text query, e.g. "siam paragon" or "ซีคอน สแควร์" MCP client UTF-8 budget: 2048 bytes. | |
| bbox | No | minLng,minLat,maxLng,maxLat bias MCP client UTF-8 budget: 128 bytes. | |
| lang | No | Result language MCP client UTF-8 budget: 512 bytes. | |
| limit | No | ||
| country | No | ISO-2 filter, e.g. TH MCP client UTF-8 budget: 512 bytes. | |
| proximity | No | "lng,lat" bias MCP client UTF-8 budget: 128 bytes. |