Opencages Geocode
opencages_geocodeForward-geocode an address or place name to latitude/longitude using OpenCage (requires API key); supports country-code filtering, bounding box, and language; returns coordinates and structured address components.
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": {
"query": "Paris, France"
},
"name": "opencages_geocode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| abbrv | No | ||
| limit | No | ||
| query | Yes | ||
| bounds | No | sw_lon,sw_lat,ne_lon,ne_lat | |
| language | No | ||
| countrycode | No | Comma-sep ISO-3166-1 alpha-2 codes. | |
| no_annotations | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | No | Rate limit information | |
| status | No | API response status | |
| results | No | Array of geocoding results | |
| total_results | No | Total number of results found |