# Geocode a place name

Resolve a city or place name to coordinates (latitude, longitude, country, timezone, population). Needs name. Served by Open-Meteo.

Resolve a city or place name to coordinates (latitude, longitude, country, timezone, population). Use before requesting a weather forecast.

- Tool ID: `open-meteo/geocode`
- Provider: [Open-Meteo](/providers/open-meteo.md)
- Price: $0.0002 per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.0002
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "description": "Place name, e.g. 'Paris'"
    },
    "count": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10,
      "default": 3
    }
  },
  "required": [
    "name"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "open-meteo/geocode",
  "input": {
    "name": "Paris",
    "count": 1
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

Licence: CC BY 4.0.

Attribution: Geocoding data by Open-Meteo.com.

[Provider documentation](https://open-meteo.com/en/docs/geocoding-api)

[REST inspection](https://api.agentik.cc/v1/tools/open-meteo/geocode) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/open-meteo/geocode) · [Agent index](/llms.txt)
