{
  "name": "unit.convert",
  "group": "compute",
  "summary": "Convert between units of length, mass, temperature, data, time, speed, area, volume, pressure, energy and angle.",
  "description": "Exact unit conversion across eleven categories, using defined conversion factors rather than remembered approximations. Temperature handles offsets correctly (0°C is 32°F, not 0°F), and binary data prefixes are kept distinct from decimal ones (a GiB is not a GB).",
  "keywords": [
    "unit converter",
    "convert units",
    "celsius to fahrenheit",
    "km to miles",
    "kg to lbs",
    "gb to gib"
  ],
  "endpoint": "https://fluentedi.com/v1/unit/convert",
  "mcp_name": "unit_convert",
  "makes_network_request": false,
  "parameters": {
    "type": "object",
    "properties": {
      "value": {
        "description": "Quantity to convert.",
        "type": "number",
        "examples": [
          100
        ]
      },
      "from": {
        "description": "Source unit, e.g. \"km\", \"celsius\", \"gib\".",
        "type": "string",
        "examples": [
          "km"
        ]
      },
      "to": {
        "description": "Target unit. Must be in the same category as `from`.",
        "type": "string",
        "examples": [
          "mi"
        ]
      },
      "list": {
        "description": "Return every supported unit grouped by category instead of converting.",
        "type": "boolean",
        "default": false
      },
      "precision": {
        "description": "Decimal places in the rounded result.",
        "type": "integer",
        "default": 6,
        "minimum": 0,
        "maximum": 15
      }
    },
    "required": [],
    "additionalProperties": false
  },
  "examples": [
    {
      "description": "Kilometres to miles",
      "url": "https://fluentedi.com/v1/unit/convert?value=100&from=km&to=mi",
      "args": {
        "value": 100,
        "from": "km",
        "to": "mi"
      }
    },
    {
      "description": "Celsius to Fahrenheit",
      "url": "https://fluentedi.com/v1/unit/convert?value=37&from=celsius&to=fahrenheit",
      "args": {
        "value": 37,
        "from": "celsius",
        "to": "fahrenheit"
      }
    },
    {
      "description": "Storage sizes that people confuse",
      "url": "https://fluentedi.com/v1/unit/convert?value=1&from=tb&to=tib",
      "args": {
        "value": 1,
        "from": "tb",
        "to": "tib"
      }
    },
    {
      "description": "Browse supported units",
      "url": "https://fluentedi.com/v1/unit/convert?list=true",
      "args": {
        "list": true
      }
    }
  ],
  "suggestion": null
}