geocode_forward
Convert addresses to geographic coordinates (latitude/longitude) for mapping, location services, or spatial analysis using Google Maps Geocoding API.
Instructions
Convert an address to geographic coordinates (latitude/longitude) using Google Maps Geocoding API.
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": {
"address": "<address>"
},
"name": "geocode_forward"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Address to geocode. Example: "1600 Amphitheatre Parkway, Mountain View, CA" | |
| components | No | Component filtering (optional) | |
| bounds | No | Viewport bounds for biasing results (optional) | |
| language | No | Language for results (e.g., "en", "es") | |
| region | No | Region bias (e.g., "us", "uk") | |
| result_type | No | Filter by result types (e.g., ["street_address"]) | |
| location_type | No | Filter by location precision (e.g., ["ROOFTOP"]) |