{
  "id": "lookup.fx",
  "object": "tool",
  "name": "Exchange rates",
  "summary": "ECB rates, latest or historical.",
  "description": "Gets reference exchange rates published by the European Central Bank (via Frankfurter), for the latest working day or a date back to 1999, from a base currency to some or all others, and optionally converts an amount.",
  "category": "lookup",
  "hosted_by": "Opentools",
  "runtime": "worker",
  "side_effects": false,
  "status": "live",
  "credits": 0,
  "price": "$0.0000",
  "providers": [
    {
      "id": "opentools",
      "name": "Opentools",
      "price": "$0.0000"
    }
  ],
  "mcp_name": "lookup_fx",
  "input_schema": {
    "type": "object",
    "properties": {
      "base": {
        "default": "EUR",
        "description": "Base currency",
        "type": "string",
        "pattern": "^[A-Za-z]{3}$"
      },
      "symbols": {
        "description": "Currencies to return. All if omitted.",
        "maxItems": 40,
        "type": "array",
        "items": {
          "type": "string",
          "pattern": "^[A-Za-z]{3}$"
        }
      },
      "date": {
        "default": "latest",
        "description": "YYYY-MM-DD or latest",
        "anyOf": [
          {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
          },
          {
            "type": "string",
            "const": "latest"
          }
        ]
      },
      "amount": {
        "description": "Amount in the base currency to convert",
        "type": "number",
        "exclusiveMinimum": 0,
        "maximum": 1000000000000000
      }
    }
  },
  "kind": "tool"
}