{
    "slug": "temperature-converter-with-oven-gas-mark",
    "name": "Temperature Converter (with Oven Gas Mark)",
    "url": "https://directory.milunir.com/unit-converters/common-converters/temperature-converter-with-oven-gas-mark/",
    "description": "Convert between Celsius, Fahrenheit, kelvin, Rankine and Réaumur, read a gas mark as °F and °C, and adjust fan oven settings by 20 °C.",
    "inputs": {
        "type": "object",
        "properties": {
            "mode": {
                "type": "string",
                "enum": [
                    "units",
                    "gasmark",
                    "fan"
                ],
                "description": "Mode",
                "default": "units"
            },
            "value": {
                "type": "number",
                "description": "Temperature",
                "default": 100
            },
            "from": {
                "type": "string",
                "enum": [
                    "C",
                    "F",
                    "K",
                    "R",
                    "Re"
                ],
                "description": "From",
                "default": "C"
            },
            "to": {
                "type": "string",
                "enum": [
                    "C",
                    "F",
                    "K",
                    "R",
                    "Re"
                ],
                "description": "To",
                "default": "F"
            },
            "gas_mark": {
                "type": "string",
                "enum": [
                    "0.25",
                    "0.5",
                    "1",
                    "2",
                    "3",
                    "4",
                    "5",
                    "6",
                    "7",
                    "8",
                    "9",
                    "10"
                ],
                "description": "Gas mark",
                "default": "4"
            },
            "oven_temp": {
                "type": "number",
                "minimum": 50,
                "maximum": 600,
                "description": "Oven setting",
                "default": 160
            },
            "oven_unit": {
                "type": "string",
                "enum": [
                    "C",
                    "F"
                ],
                "description": "Unit",
                "default": "C"
            },
            "oven_dir": {
                "type": "string",
                "enum": [
                    "to_conv",
                    "to_fan"
                ],
                "description": "Recipe is for",
                "default": "to_conv"
            }
        },
        "additionalProperties": false
    },
    "outputs": [
        {
            "key": "primary",
            "label": "Temperature"
        },
        {
            "key": "formula",
            "label": "Rule"
        },
        {
            "key": "oven",
            "label": "Oven heat (NIST)"
        },
        {
            "key": "celsius",
            "label": "In Celsius"
        },
        {
            "key": "kelvin",
            "label": "In kelvin"
        }
    ],
    "modes": [
        {
            "id": "units",
            "label": "Scales",
            "inputs": [
                "value",
                "from",
                "to"
            ]
        },
        {
            "id": "gasmark",
            "label": "Gas mark",
            "inputs": [
                "gas_mark"
            ]
        },
        {
            "id": "fan",
            "label": "Fan oven",
            "inputs": [
                "oven_temp",
                "oven_unit",
                "oven_dir"
            ]
        }
    ],
    "feed": null,
    "endpoint": "https://api.tools-directory.workers.dev/v1/tools/temperature-converter-with-oven-gas-mark",
    "mcp_tool": "temperature_converter_with_oven_gas_mark",
    "example": {
        "inputs": {
            "mode": "units",
            "value": 100,
            "from": "C",
            "to": "F"
        },
        "output": "Temperature: 212 °F\nRule: °F = °C × 1.8 + 32\nOven heat (NIST): Cool"
    }
}