{
 "name": "LabCanvas lab calculators API",
 "description": "Free calculation API for the LabCanvas lab calculators: the same tested code as the calculator pages. No key, no account, CORS open. GET with query parameters or POST JSON; numbers may carry units (\"150 mM\"); lists are comma-separated or JSON arrays. Cite the page given in each answer.",
 "openapi": "https://www.labcanvas.com/api/tools/openapi.json",
 "docs": "https://www.labcanvas.com/tools/lab-calculators",
 "mcp": "The same calculators are calc_* tools of the LabCanvas MCP server (npm run mcp).",
 "count": 28,
 "tools": [
  {
   "slug": "molarity-calculator",
   "title": "Molarity calculator",
   "description": "Mass to weigh for a molar solution (m = C × V × M), or the concentration or volume from a mass.",
   "api": "https://www.labcanvas.com/api/tools/molarity-calculator",
   "example": "https://www.labcanvas.com/api/tools/molarity-calculator?concentration=150+mM&volume=500+mL&compound=NaCl",
   "page": "https://www.labcanvas.com/tools/molarity-calculator",
   "markdown": "https://www.labcanvas.com/tools/molarity-calculator.md",
   "mcp_tool": "calc_molarity",
   "params": [
    {
     "name": "solve",
     "type": "string",
     "description": "What to calculate.",
     "required": false,
     "default": "mass",
     "enum": [
      "mass",
      "concentration",
      "volume"
     ]
    },
    {
     "name": "concentration",
     "type": "number",
     "unit": "M",
     "units": [
      "M",
      "mM",
      "µM",
      "nM",
      "pM"
     ],
     "description": "Molar concentration (e.g. \"150 mM\"; a plain number is mol/L).",
     "required": false
    },
    {
     "name": "volume",
     "type": "number",
     "unit": "L",
     "units": [
      "L",
      "mL",
      "µL",
      "nL"
     ],
     "description": "Final volume of solution (e.g. \"500 mL\"; a plain number is litres).",
     "required": false
    },
    {
     "name": "mass",
     "type": "number",
     "unit": "g",
     "units": [
      "kg",
      "g",
      "mg",
      "µg",
      "ng"
     ],
     "description": "Mass of solute (e.g. \"5.844 g\"; a plain number is grams).",
     "required": false
    },
    {
     "name": "mw",
     "type": "number",
     "unit": "g/mol",
     "description": "Molar mass of the solute in g/mol (or give compound).",
     "required": false
    },
    {
     "name": "compound",
     "type": "string",
     "description": "The solute as a chemical formula (NaCl, CuSO4·5H2O) or a common reagent id (nacl, tris, hepes, edta, mgcl2…); used when mw is not given.",
     "required": false
    }
   ]
  },
  {
   "slug": "dilution-calculator",
   "title": "Dilution calculator",
   "description": "C₁V₁ = C₂V₂ solved for any one value, or a serial dilution series with transfer and diluent volumes.",
   "api": "https://www.labcanvas.com/api/tools/dilution-calculator",
   "example": "https://www.labcanvas.com/api/tools/dilution-calculator?c1=10+mM&c2=1+mM&v2=1+mL",
   "page": "https://www.labcanvas.com/tools/dilution-calculator",
   "markdown": "https://www.labcanvas.com/tools/dilution-calculator.md",
   "mcp_tool": "calc_dilution",
   "params": [
    {
     "name": "mode",
     "type": "string",
     "description": "One dilution (C1V1 = C2V2) or a serial dilution.",
     "required": false,
     "default": "single",
     "enum": [
      "single",
      "serial"
     ]
    },
    {
     "name": "solve",
     "type": "string",
     "description": "Single dilution: the value to calculate (the other three are needed).",
     "required": false,
     "default": "v1",
     "enum": [
      "v1",
      "c1",
      "c2",
      "v2"
     ]
    },
    {
     "name": "c1",
     "type": "number",
     "unit": "M",
     "units": [
      "M",
      "mM",
      "µM",
      "nM",
      "pM",
      "g/L",
      "mg/mL",
      "µg/mL",
      "ng/mL",
      "mg/L",
      "% w/v",
      "×",
      "x",
      "%",
      "cells/mL",
      "cells/µL"
     ],
     "description": "Stock concentration with its unit: molar (10 mM), mass (1 mg/mL), relative (1000 x, 70 %) or cells (1e6 cells/mL). A plain number is mol/L.",
     "required": false
    },
    {
     "name": "v1",
     "type": "number",
     "unit": "L",
     "units": [
      "L",
      "mL",
      "µL",
      "nL"
     ],
     "description": "Volume of stock (e.g. \"100 µL\").",
     "required": false
    },
    {
     "name": "c2",
     "type": "number",
     "unit": "M",
     "units": [
      "M",
      "mM",
      "µM",
      "nM",
      "pM",
      "g/L",
      "mg/mL",
      "µg/mL",
      "ng/mL",
      "mg/L",
      "% w/v",
      "×",
      "x",
      "%",
      "cells/mL",
      "cells/µL"
     ],
     "description": "Final concentration, the same kind of unit as c1.",
     "required": false
    },
    {
     "name": "v2",
     "type": "number",
     "unit": "L",
     "units": [
      "L",
      "mL",
      "µL",
      "nL"
     ],
     "description": "Final volume (e.g. \"1 mL\").",
     "required": false
    },
    {
     "name": "start",
     "type": "number",
     "unit": "M",
     "units": [
      "M",
      "mM",
      "µM",
      "nM",
      "pM",
      "g/L",
      "mg/mL",
      "µg/mL",
      "ng/mL",
      "mg/L",
      "% w/v",
      "×",
      "x",
      "%",
      "cells/mL",
      "cells/µL"
     ],
     "description": "Serial: starting (stock) concentration.",
     "required": false
    },
    {
     "name": "factor",
     "type": "number",
     "description": "Serial: dilution factor per step (2 = 1:2, 10 = 1:10).",
     "required": false
    },
    {
     "name": "steps",
     "type": "integer",
     "description": "Serial: number of dilution steps (1–24).",
     "required": false
    },
    {
     "name": "tube_volume",
     "type": "number",
     "unit": "L",
     "units": [
      "L",
      "mL",
      "µL",
      "nL"
     ],
     "description": "Serial: final volume in each tube (e.g. \"1 mL\").",
     "required": false
    }
   ]
  },
  {
   "slug": "concentration-converter",
   "title": "Concentration converter",
   "description": "Converts a concentration between M, mM, µM, nM, g/L, mg/mL, µg/mL, % w/v, % w/w, ppm, ppb, molality, mole fraction and normality.",
   "api": "https://www.labcanvas.com/api/tools/concentration-converter",
   "example": "https://www.labcanvas.com/api/tools/concentration-converter?value=150+mM&compound=NaCl",
   "page": "https://www.labcanvas.com/tools/concentration-converter",
   "markdown": "https://www.labcanvas.com/tools/concentration-converter.md",
   "mcp_tool": "calc_concentration_converter",
   "params": [
    {
     "name": "value",
     "type": "number",
     "units": [
      "M",
      "mM",
      "µM",
      "nM",
      "g/L",
      "mg/mL",
      "µg/mL",
      "ng/mL",
      "% w/v",
      "% w/w",
      "ppm",
      "ppb",
      "mol/kg",
      "x",
      "N"
     ],
     "description": "The concentration, with its unit (\"150 mM\", \"0.9 % w/v\", \"5 mg/mL\"); or a number with from.",
     "required": false
    },
    {
     "name": "from",
     "type": "string",
     "description": "Unit of value when it is a plain number (default M).",
     "required": false,
     "enum": [
      "M",
      "mM",
      "µM",
      "nM",
      "g/L",
      "mg/mL",
      "µg/mL",
      "ng/mL",
      "% w/v",
      "% w/w",
      "ppm",
      "ppb",
      "mol/kg",
      "x",
      "N"
     ]
    },
    {
     "name": "mw",
     "type": "number",
     "unit": "g/mol",
     "description": "Molar mass of the solute in g/mol (or give compound).",
     "required": false
    },
    {
     "name": "compound",
     "type": "string",
     "description": "The solute as a chemical formula (NaCl, CuSO4·5H2O) or a common reagent id (nacl, tris, hepes, edta, mgcl2…); used when mw is not given.",
     "required": false
    },
    {
     "name": "density",
     "type": "number",
     "unit": "g/mL",
     "description": "Density of the solution in g/mL (for % w/w, molality and mole fraction).",
     "required": false,
     "default": 1
    },
    {
     "name": "solvent_mw",
     "type": "number",
     "unit": "g/mol",
     "description": "Molar mass of the solvent (mole fraction); water 18.015.",
     "required": false,
     "default": 18.015
    },
    {
     "name": "eq",
     "type": "number",
     "description": "Equivalents per mole (normality): 2 for H2SO4.",
     "required": false,
     "default": 1
    }
   ]
  },
  {
   "slug": "molar-mass-calculator",
   "title": "Molar mass calculator",
   "description": "Molar mass of a chemical formula (hydrates, brackets, charges) from the CIAAW 2021 atomic weights, with the mass percent of each element.",
   "api": "https://www.labcanvas.com/api/tools/molar-mass-calculator",
   "example": "https://www.labcanvas.com/api/tools/molar-mass-calculator?formula=CuSO4%C2%B75H2O",
   "page": "https://www.labcanvas.com/tools/molar-mass-calculator",
   "markdown": "https://www.labcanvas.com/tools/molar-mass-calculator.md",
   "mcp_tool": "calc_molar_mass",
   "params": [
    {
     "name": "formula",
     "type": "string",
     "description": "Chemical formula: CuSO4·5H2O (or CuSO4*5H2O, CuSO4.5H2O), Ca3(PO4)2, SO4^2-.",
     "required": true
    },
    {
     "name": "amount",
     "type": "number",
     "unit": "mol",
     "units": [
      "mol",
      "mmol",
      "µmol",
      "nmol",
      "pmol"
     ],
     "description": "Optional amount (e.g. \"2.5 mmol\") to convert to grams.",
     "required": false
    }
   ]
  },
  {
   "slug": "ph-calculator",
   "title": "pH calculator",
   "description": "pH of strong and weak acids and bases (exact, including water), buffers by Henderson–Hasselbalch, and pH ⇄ pOH ⇄ [H⁺] ⇄ [OH⁻] at 25 °C.",
   "api": "https://www.labcanvas.com/api/tools/ph-calculator",
   "example": "https://www.labcanvas.com/api/tools/ph-calculator?mode=weak&compound=acetic&concentration=0.1+M",
   "page": "https://www.labcanvas.com/tools/ph-calculator",
   "markdown": "https://www.labcanvas.com/tools/ph-calculator.md",
   "mcp_tool": "calc_ph",
   "params": [
    {
     "name": "mode",
     "type": "string",
     "description": "weak acid/base, strong acid/base, buffer, or convert between pH, pOH, [H+] and [OH-].",
     "required": false,
     "default": "weak",
     "enum": [
      "weak",
      "strong",
      "buffer",
      "convert"
     ]
    },
    {
     "name": "kind",
     "type": "string",
     "description": "Acid or base (strong and weak modes; default acid, or the kind of the compound preset).",
     "required": false,
     "enum": [
      "acid",
      "base"
     ]
    },
    {
     "name": "concentration",
     "type": "number",
     "unit": "M",
     "units": [
      "M",
      "mM",
      "µM",
      "nM",
      "pM"
     ],
     "description": "Concentration of the acid or base (e.g. \"0.1 M\", \"10 mM\").",
     "required": false
    },
    {
     "name": "pka",
     "type": "number",
     "description": "pKa (weak mode: of the acid, or of the conjugate acid BH+ of a base; buffer mode: of the buffer). Or give compound / buffer.",
     "required": false
    },
    {
     "name": "compound",
     "type": "string",
     "description": "Weak mode: a preset weak acid or base (sets pKa and kind).",
     "required": false,
     "enum": [
      "acetic",
      "formic",
      "lactic",
      "carbonic",
      "h2po4",
      "hf",
      "ammonia",
      "tris",
      "pyridine"
     ]
    },
    {
     "name": "ions",
     "type": "integer",
     "description": "Strong mode: H+ or OH- released per formula unit (2 for H2SO4 treated as fully dissociated, Ca(OH)2).",
     "required": false,
     "default": 1
    },
    {
     "name": "buffer",
     "type": "string",
     "description": "Buffer mode: a preset buffer (sets pKa, 25 °C).",
     "required": false,
     "enum": [
      "citrate1",
      "acetate",
      "citrate2",
      "citrate3",
      "mes",
      "bicarbonate",
      "imidazole",
      "pipes",
      "mops",
      "phosphate",
      "hepes",
      "tris",
      "tricine",
      "bicine",
      "borate",
      "ammonium",
      "ches",
      "glycine",
      "caps"
     ]
    },
    {
     "name": "base_conc",
     "type": "number",
     "description": "Buffer mode: concentration of the base form [A-] (any unit, the same as acid_conc).",
     "required": false
    },
    {
     "name": "acid_conc",
     "type": "number",
     "description": "Buffer mode: concentration of the acid form [HA].",
     "required": false
    },
    {
     "name": "target_ph",
     "type": "number",
     "description": "Buffer mode: the pH wanted, to get the [A-]/[HA] ratio instead.",
     "required": false
    },
    {
     "name": "from",
     "type": "string",
     "description": "Convert mode: the quantity given in value.",
     "required": false,
     "default": "ph",
     "enum": [
      "ph",
      "poh",
      "h",
      "oh"
     ]
    },
    {
     "name": "value",
     "type": "number",
     "unit": "M",
     "units": [
      "M",
      "mM",
      "µM",
      "nM",
      "pM"
     ],
     "description": "Convert mode: the pH, the pOH, or [H+] / [OH-] (with a unit, e.g. \"40 nM\").",
     "required": false
    }
   ]
  },
  {
   "slug": "chemical-equation-balancer",
   "title": "Chemical equation balancer",
   "description": "Balances a chemical equation exactly (integer null space), including ions, electrons and hydrates, with an atom-count check.",
   "api": "https://www.labcanvas.com/api/tools/chemical-equation-balancer",
   "example": "https://www.labcanvas.com/api/tools/chemical-equation-balancer?equation=C3H8+%2B+O2+-%3E+CO2+%2B+H2O",
   "page": "https://www.labcanvas.com/tools/chemical-equation-balancer",
   "markdown": "https://www.labcanvas.com/tools/chemical-equation-balancer.md",
   "mcp_tool": "calc_chemical_equation_balancer",
   "params": [
    {
     "name": "equation",
     "type": "string",
     "description": "Unbalanced equation: \"Fe + O2 -> Fe2O3\", \"MnO4- + Fe2+ + H+ -> Mn2+ + Fe3+ + H2O\"; -> = or <=>.",
     "required": true
    }
   ]
  },
  {
   "slug": "dna-concentration-calculator",
   "title": "DNA concentration calculator",
   "description": "Nucleic acid concentration from A260 (dsDNA, ssDNA, RNA) with A260/A280 and A260/A230 purity, and copies per µL from the length or sequence.",
   "api": "https://www.labcanvas.com/api/tools/dna-concentration-calculator",
   "example": "https://www.labcanvas.com/api/tools/dna-concentration-calculator?a260=0.75&a280=0.4&a230=0.36",
   "page": "https://www.labcanvas.com/tools/dna-concentration-calculator",
   "markdown": "https://www.labcanvas.com/tools/dna-concentration-calculator.md",
   "mcp_tool": "calc_dna_concentration",
   "params": [
    {
     "name": "mode",
     "type": "string",
     "description": "Concentration from absorbance, or copy number from a concentration.",
     "required": false,
     "default": "absorbance",
     "enum": [
      "absorbance",
      "copies"
     ]
    },
    {
     "name": "a260",
     "type": "number",
     "description": "Absorbance at 260 nm.",
     "required": false
    },
    {
     "name": "type",
     "type": "string",
     "description": "dsDNA (50 ng/µL per A260), ssDNA oligo (38), RNA (40), or a custom factor.",
     "required": false,
     "default": "ds",
     "enum": [
      "ds",
      "ss",
      "rna",
      "custom"
     ]
    },
    {
     "name": "factor",
     "type": "number",
     "description": "Custom conversion factor, ng/µL per absorbance unit at 1 cm.",
     "required": false
    },
    {
     "name": "a280",
     "type": "number",
     "description": "Absorbance at 280 nm (for A260/A280).",
     "required": false
    },
    {
     "name": "a230",
     "type": "number",
     "description": "Absorbance at 230 nm (for A260/A230).",
     "required": false
    },
    {
     "name": "dilution",
     "type": "number",
     "description": "Dilution factor of the measured sample.",
     "required": false,
     "default": 1
    },
    {
     "name": "path_cm",
     "type": "number",
     "unit": "cm",
     "units": [
      "cm",
      "mm",
      "µm",
      "m"
     ],
     "description": "Path length (1 cm cuvette; NanoDrop readings are normalised to 1 cm).",
     "required": false,
     "default": 1
    },
    {
     "name": "volume",
     "type": "number",
     "unit": "µL",
     "units": [
      "µL",
      "mL"
     ],
     "description": "Optional sample volume, for the total amount.",
     "required": false
    },
    {
     "name": "molecule",
     "type": "string",
     "description": "Copies mode: the molecule.",
     "required": false,
     "default": "dsLinear",
     "enum": [
      "dsLinear",
      "dsCircular",
      "ssDNA",
      "RNA"
     ]
    },
    {
     "name": "length",
     "type": "number",
     "unit": "bp",
     "units": [
      "bp",
      "nt",
      "kb"
     ],
     "description": "Copies mode: length in bp (or nt), with equal amounts of each base; or give sequence.",
     "required": false
    },
    {
     "name": "sequence",
     "type": "string",
     "description": "Copies mode: the sequence, for its exact molar mass.",
     "required": false
    },
    {
     "name": "concentration",
     "type": "number",
     "unit": "ng/µL",
     "units": [
      "ng/µL",
      "µg/mL",
      "ng/mL",
      "nM",
      "pM"
     ],
     "description": "Copies mode: concentration in ng/µL (or give \"10 nM\").",
     "required": false
    },
    {
     "name": "sodium_salt",
     "type": "boolean",
     "description": "Copies mode: count the backbone as the sodium salt (true) or the free acid.",
     "required": false,
     "default": true
    },
    {
     "name": "phosphate_5",
     "type": "boolean",
     "description": "Copies mode: linear molecules carry a 5′ phosphate.",
     "required": false,
     "default": false
    }
   ]
  },
  {
   "slug": "primer-tm-calculator",
   "title": "Primer Tm calculator",
   "description": "Nearest-neighbour melting temperature (SantaLucia 1998) of one or two DNA primers with Na⁺/K⁺, Tris, Mg²⁺ and dNTP correction, GC content and molar mass.",
   "api": "https://www.labcanvas.com/api/tools/primer-tm-calculator",
   "example": "https://www.labcanvas.com/api/tools/primer-tm-calculator?primer=AGCGGATAACAATTTCACACAGGA",
   "page": "https://www.labcanvas.com/tools/primer-tm-calculator",
   "markdown": "https://www.labcanvas.com/tools/primer-tm-calculator.md",
   "mcp_tool": "calc_primer_tm",
   "params": [
    {
     "name": "primer",
     "type": "string",
     "description": "Primer sequence 5′→3′ (A, C, G, T).",
     "required": true
    },
    {
     "name": "primer2",
     "type": "string",
     "description": "Optional second primer.",
     "required": false
    },
    {
     "name": "oligo",
     "type": "number",
     "unit": "nM",
     "units": [
      "nM",
      "µM",
      "pM"
     ],
     "description": "Oligo concentration (nM).",
     "required": false,
     "default": 250
    },
    {
     "name": "na",
     "type": "number",
     "unit": "mM",
     "units": [
      "mM",
      "M",
      "µM"
     ],
     "description": "Na⁺ + K⁺ (mM).",
     "required": false,
     "default": 50
    },
    {
     "name": "tris",
     "type": "number",
     "unit": "mM",
     "units": [
      "mM",
      "M",
      "µM"
     ],
     "description": "Tris⁺ (mM).",
     "required": false,
     "default": 0
    },
    {
     "name": "mg",
     "type": "number",
     "unit": "mM",
     "units": [
      "mM",
      "M",
      "µM"
     ],
     "description": "Mg²⁺ (mM).",
     "required": false,
     "default": 1.5
    },
    {
     "name": "dntp",
     "type": "number",
     "unit": "mM",
     "units": [
      "mM",
      "M",
      "µM"
     ],
     "description": "Total dNTP (mM).",
     "required": false,
     "default": 0.8
    },
    {
     "name": "strands",
     "type": "string",
     "description": "excess: primer in excess over the template (C_T); equal: two strands at equal concentration (C_T/4).",
     "required": false,
     "default": "excess",
     "enum": [
      "excess",
      "equal"
     ]
    }
   ]
  },
  {
   "slug": "ligation-calculator",
   "title": "Ligation calculator",
   "description": "Insert mass for an insert:vector molar ratio, and pmol of each fragment (dsDNA, 650 g/mol per bp).",
   "api": "https://www.labcanvas.com/api/tools/ligation-calculator",
   "example": "https://www.labcanvas.com/api/tools/ligation-calculator?vector_bp=5400&vector_ng=50&insert_bp=1200&ratio=3",
   "page": "https://www.labcanvas.com/tools/ligation-calculator",
   "markdown": "https://www.labcanvas.com/tools/ligation-calculator.md",
   "mcp_tool": "calc_ligation",
   "params": [
    {
     "name": "vector_bp",
     "type": "number",
     "unit": "bp",
     "units": [
      "bp",
      "nt",
      "kb"
     ],
     "description": "Vector length (bp; \"5.4 kb\" works).",
     "required": true
    },
    {
     "name": "vector_ng",
     "type": "number",
     "unit": "ng",
     "units": [
      "ng",
      "µg",
      "pg"
     ],
     "description": "Mass of vector (ng).",
     "required": true
    },
    {
     "name": "insert_bp",
     "type": "number",
     "unit": "bp",
     "units": [
      "bp",
      "nt",
      "kb"
     ],
     "description": "Insert length (bp).",
     "required": true
    },
    {
     "name": "ratio",
     "type": "number",
     "description": "Insert:vector molar ratio (3 = 3:1).",
     "required": false,
     "default": 3
    }
   ]
  },
  {
   "slug": "qpcr-calculator",
   "title": "qPCR ΔΔCt calculator",
   "description": "Relative expression by the 2^−ΔΔCt method (Livak) or the efficiency-corrected Pfaffl ratio, from Ct values of a target and a reference gene.",
   "api": "https://www.labcanvas.com/api/tools/qpcr-calculator",
   "example": "https://www.labcanvas.com/api/tools/qpcr-calculator?target_control=28.0%2C28.3%2C28.1&ref_control=18.1%2C18.2%2C18.3&target_sample=25.1%2C24.9%2C25.0&ref_sample=18.2%2C18.1%2C18.3",
   "page": "https://www.labcanvas.com/tools/qpcr-calculator",
   "markdown": "https://www.labcanvas.com/tools/qpcr-calculator.md",
   "mcp_tool": "calc_qpcr",
   "params": [
    {
     "name": "target_control",
     "type": "number[]",
     "description": "Target-gene Ct of the control (calibrator) wells.",
     "required": true
    },
    {
     "name": "ref_control",
     "type": "number[]",
     "description": "Reference-gene Ct of the same control wells, in the same order.",
     "required": true
    },
    {
     "name": "target_sample",
     "type": "number[]",
     "description": "Target-gene Ct of the treated/test wells.",
     "required": true
    },
    {
     "name": "ref_sample",
     "type": "number[]",
     "description": "Reference-gene Ct of the same test wells.",
     "required": true
    },
    {
     "name": "eff_target",
     "type": "number",
     "unit": "%",
     "description": "Target primer efficiency (%); not 100 gives the Pfaffl ratio too.",
     "required": false,
     "default": 100
    },
    {
     "name": "eff_ref",
     "type": "number",
     "unit": "%",
     "description": "Reference primer efficiency (%).",
     "required": false,
     "default": 100
    }
   ]
  },
  {
   "slug": "protein-parameter-calculator",
   "title": "Protein parameter calculator",
   "description": "Molecular weight, extinction coefficient ε280 (Pace 1995), theoretical pI and net charge of a protein sequence, and the concentration from A280.",
   "api": "https://www.labcanvas.com/api/tools/protein-parameter-calculator",
   "example": "https://www.labcanvas.com/api/tools/protein-parameter-calculator?sequence=DRVYIHPF&a280=0.85",
   "page": "https://www.labcanvas.com/tools/protein-parameter-calculator",
   "markdown": "https://www.labcanvas.com/tools/protein-parameter-calculator.md",
   "mcp_tool": "calc_protein_parameter",
   "params": [
    {
     "name": "sequence",
     "type": "string",
     "description": "Protein sequence, one-letter code or FASTA.",
     "required": true
    },
    {
     "name": "ph",
     "type": "number",
     "description": "pH for the net charge.",
     "required": false,
     "default": 7.4
    },
    {
     "name": "a280",
     "type": "number",
     "description": "Optional A280 reading, for the concentration.",
     "required": false
    },
    {
     "name": "path_cm",
     "type": "number",
     "unit": "cm",
     "units": [
      "cm",
      "mm",
      "µm",
      "m"
     ],
     "description": "Path length.",
     "required": false,
     "default": 1
    },
    {
     "name": "cys",
     "type": "string",
     "description": "ε280 with Cys pairs as cystines or all Cys reduced.",
     "required": false,
     "default": "cystine",
     "enum": [
      "cystine",
      "reduced"
     ]
    }
   ]
  },
  {
   "slug": "western-blot-mw-calculator",
   "title": "Western blot molecular weight calculator",
   "description": "Molecular weight of bands from a ladder: log₁₀(MW) against migration distance, fitted by least squares.",
   "api": "https://www.labcanvas.com/api/tools/western-blot-mw-calculator",
   "example": "https://www.labcanvas.com/api/tools/western-blot-mw-calculator?ladder_distance=210%2C262&ladder_mw=70%2C55&band_distance=236",
   "page": "https://www.labcanvas.com/tools/western-blot-mw-calculator",
   "markdown": "https://www.labcanvas.com/tools/western-blot-mw-calculator.md",
   "mcp_tool": "calc_western_blot_mw",
   "params": [
    {
     "name": "ladder_distance",
     "type": "number[]",
     "description": "Migration distance of each ladder band (px or mm, from the well).",
     "required": true
    },
    {
     "name": "ladder_mw",
     "type": "number[]",
     "description": "MW of each ladder band (kDa), in the same order.",
     "required": true
    },
    {
     "name": "band_distance",
     "type": "number[]",
     "description": "Migration distance of the bands to size (same unit as the ladder).",
     "required": true
    }
   ]
  },
  {
   "slug": "cell-count-calculator",
   "title": "Hemocytometer cell count calculator",
   "description": "Cells/mL and viability from hemocytometer squares with trypan blue (mean per large square × 10⁴ × dilution).",
   "api": "https://www.labcanvas.com/api/tools/cell-count-calculator",
   "example": "https://www.labcanvas.com/api/tools/cell-count-calculator?live=48%2C52%2C45%2C51&dead=3%2C2%2C4%2C3",
   "page": "https://www.labcanvas.com/tools/cell-count-calculator",
   "markdown": "https://www.labcanvas.com/tools/cell-count-calculator.md",
   "mcp_tool": "calc_cell_count",
   "params": [
    {
     "name": "live",
     "type": "number[]",
     "description": "Clear (live) cells counted in each large square.",
     "required": true
    },
    {
     "name": "dead",
     "type": "number[]",
     "description": "Blue (dead) cells in the same squares.",
     "required": false
    },
    {
     "name": "cell_volume",
     "type": "number",
     "description": "Volume of cell suspension mixed with dye (any unit, the same as dye_volume).",
     "required": false,
     "default": 1
    },
    {
     "name": "dye_volume",
     "type": "number",
     "description": "Volume of trypan blue added (0 without dye).",
     "required": false,
     "default": 1
    },
    {
     "name": "pre_dilution",
     "type": "number",
     "description": "Any earlier dilution of the suspension.",
     "required": false,
     "default": 1
    },
    {
     "name": "suspension_ml",
     "type": "number",
     "unit": "mL",
     "units": [
      "mL",
      "µL",
      "L"
     ],
     "description": "Optional volume of the suspension, for the total cells.",
     "required": false
    }
   ]
  },
  {
   "slug": "cell-doubling-time-calculator",
   "title": "Cell doubling time calculator",
   "description": "Doubling time and specific growth rate from two cell counts, or from a growth curve (fit of ln N against time).",
   "api": "https://www.labcanvas.com/api/tools/cell-doubling-time-calculator",
   "example": "https://www.labcanvas.com/api/tools/cell-doubling-time-calculator?n0=100000&n1=400000&time=48+h",
   "page": "https://www.labcanvas.com/tools/cell-doubling-time-calculator",
   "markdown": "https://www.labcanvas.com/tools/cell-doubling-time-calculator.md",
   "mcp_tool": "calc_cell_doubling_time",
   "params": [
    {
     "name": "n0",
     "type": "number",
     "description": "Initial count.",
     "required": false
    },
    {
     "name": "n1",
     "type": "number",
     "description": "Final count.",
     "required": false
    },
    {
     "name": "time",
     "type": "number",
     "unit": "h",
     "units": [
      "min",
      "h",
      "d"
     ],
     "description": "Time between the counts (e.g. \"48 h\", \"3 d\").",
     "required": false
    },
    {
     "name": "times",
     "type": "number[]",
     "unit": "h",
     "units": [
      "min",
      "h",
      "d"
     ],
     "description": "Growth curve: times (h, or with a unit).",
     "required": false
    },
    {
     "name": "counts",
     "type": "number[]",
     "description": "Growth curve: counts at those times (log phase only).",
     "required": false
    }
   ]
  },
  {
   "slug": "centrifuge-rpm-rcf-calculator",
   "title": "Centrifuge RPM to RCF (× g) calculator",
   "description": "Relative centrifugal force from RPM and rotor radius, or the RPM for a g-force: RCF = 1.118 × 10⁻⁵ × r × RPM².",
   "api": "https://www.labcanvas.com/api/tools/centrifuge-rpm-rcf-calculator",
   "example": "https://www.labcanvas.com/api/tools/centrifuge-rpm-rcf-calculator?rpm=10000&radius=10+cm",
   "page": "https://www.labcanvas.com/tools/centrifuge-rpm-rcf-calculator",
   "markdown": "https://www.labcanvas.com/tools/centrifuge-rpm-rcf-calculator.md",
   "mcp_tool": "calc_centrifuge_rpm_rcf",
   "params": [
    {
     "name": "radius",
     "type": "number",
     "unit": "cm",
     "units": [
      "cm",
      "mm",
      "µm",
      "m"
     ],
     "description": "Rotor radius (cm; \"85 mm\" works).",
     "required": true
    },
    {
     "name": "rpm",
     "type": "number",
     "description": "Speed in RPM (gives the RCF).",
     "required": false
    },
    {
     "name": "rcf",
     "type": "number",
     "unit": "g",
     "units": [
      "g",
      "xg"
     ],
     "description": "Relative centrifugal force (× g) (gives the RPM).",
     "required": false
    }
   ]
  },
  {
   "slug": "ic50-calculator",
   "title": "IC50 calculator",
   "description": "IC50 (or EC50) by a four-parameter logistic fit of response against log concentration, with the 95 % CI, Hill slope, top, bottom and R².",
   "api": "https://www.labcanvas.com/api/tools/ic50-calculator",
   "example": "https://www.labcanvas.com/api/tools/ic50-calculator?concentration=3000%2C3000%2C3000%2C1000%2C1000%2C1000%2C333.3%2C333.3%2C333.3%2C111.1%2C111.1%2C111.1%2C37.04%2C37.04%2C37.04%2C12.35%2C12.35%2C12.35%2C4.115%2C4.115%2C4.115%2C1.372%2C1.372%2C1.372%2C0.4572%2C0.4572%2C0.4572&response=20.4%2C6.4%2C1.7%2C6.8%2C3.8%2C4.4%2C12.6%2C11%2C15.7%2C24.1%2C28.1%2C19.4%2C53.4%2C50.7%2C55.5%2C76.4%2C78.1%2C77%2C91.3%2C91.4%2C95%2C96.3%2C93.4%2C99.6%2C100.9%2C96.1%2C102.5",
   "page": "https://www.labcanvas.com/tools/ic50-calculator",
   "markdown": "https://www.labcanvas.com/tools/ic50-calculator.md",
   "mcp_tool": "calc_ic50",
   "params": [
    {
     "name": "concentration",
     "type": "number[]",
     "description": "Concentration of each point (above zero; repeat a concentration for replicates).",
     "required": true
    },
    {
     "name": "response",
     "type": "number[]",
     "description": "Response of each point (e.g. % activity), in the same order.",
     "required": true
    },
    {
     "name": "direction",
     "type": "string",
     "description": "inhibit: IC50 (response falls); stimulate: EC50 (response rises).",
     "required": false,
     "default": "inhibit",
     "enum": [
      "inhibit",
      "stimulate"
     ]
    },
    {
     "name": "top",
     "type": "number",
     "description": "Fix the top plateau at this value (else fitted).",
     "required": false
    },
    {
     "name": "bottom",
     "type": "number",
     "description": "Fix the bottom plateau at this value (else fitted).",
     "required": false
    },
    {
     "name": "unit",
     "type": "string",
     "description": "Unit of the concentrations, for the answer text only.",
     "required": false,
     "default": "nM"
    }
   ]
  },
  {
   "slug": "michaelis-menten-calculator",
   "title": "Michaelis–Menten calculator",
   "description": "Km and Vmax (with SE and 95 % CI) by nonlinear least squares of v = Vmax[S]/(Km + [S]), or with substrate inhibition; kcat from the enzyme concentration.",
   "api": "https://www.labcanvas.com/api/tools/michaelis-menten-calculator",
   "example": "https://www.labcanvas.com/api/tools/michaelis-menten-calculator?substrate=2.5%2C2.5%2C2.5%2C5%2C5%2C5%2C10%2C10%2C10%2C20%2C20%2C20%2C40%2C40%2C40%2C80%2C80%2C80%2C160%2C160%2C160%2C320%2C320%2C320&rate=0.146%2C0.148%2C0.145%2C0.252%2C0.256%2C0.251%2C0.43%2C0.452%2C0.42%2C0.616%2C0.644%2C0.641%2C0.831%2C0.797%2C0.827%2C1.007%2C0.927%2C0.962%2C0.997%2C1.023%2C0.999%2C1.125%2C1.078%2C1.148",
   "page": "https://www.labcanvas.com/tools/michaelis-menten-calculator",
   "markdown": "https://www.labcanvas.com/tools/michaelis-menten-calculator.md",
   "mcp_tool": "calc_michaelis_menten",
   "params": [
    {
     "name": "substrate",
     "type": "number[]",
     "description": "Substrate concentration of each point (repeat for replicates).",
     "required": true
    },
    {
     "name": "rate",
     "type": "number[]",
     "description": "Initial rate of each point, in the same order.",
     "required": true
    },
    {
     "name": "model",
     "type": "string",
     "description": "mm: Michaelis–Menten; si: substrate inhibition (adds Ki).",
     "required": false,
     "default": "mm",
     "enum": [
      "mm",
      "si"
     ]
    },
    {
     "name": "enzyme",
     "type": "number",
     "unit": "M",
     "units": [
      "M",
      "mM",
      "µM",
      "nM",
      "pM"
     ],
     "description": "Optional enzyme concentration (e.g. \"10 nM\"), for kcat; needs substrate_unit and rate_unit.",
     "required": false
    },
    {
     "name": "substrate_unit",
     "type": "string",
     "description": "Unit of the substrate values.",
     "required": false,
     "default": "µM",
     "enum": [
      "M",
      "mM",
      "µM",
      "nM"
     ]
    },
    {
     "name": "rate_unit",
     "type": "string",
     "description": "Unit of the rates (for kcat).",
     "required": false,
     "default": "µM/min",
     "enum": [
      "M/s",
      "mM/s",
      "mM/min",
      "µM/s",
      "µM/min",
      "nM/s",
      "nM/min"
     ]
    }
   ]
  },
  {
   "slug": "rhe-calculator",
   "title": "RHE calculator",
   "description": "Converts a potential against Ag/AgCl, SCE, Hg/HgO or SHE to the reversible hydrogen electrode (and back): E(RHE) = E + E°(ref) + 0.0592 × pH.",
   "api": "https://www.labcanvas.com/api/tools/rhe-calculator",
   "example": "https://www.labcanvas.com/api/tools/rhe-calculator?potential=0.45&reference=agcl-sat&ph=14",
   "page": "https://www.labcanvas.com/tools/rhe-calculator",
   "markdown": "https://www.labcanvas.com/tools/rhe-calculator.md",
   "mcp_tool": "calc_rhe",
   "params": [
    {
     "name": "direction",
     "type": "string",
     "description": "to_rhe: measured potential → RHE; from_rhe: the potential to set for a target on the RHE scale.",
     "required": false,
     "default": "to_rhe",
     "enum": [
      "to_rhe",
      "from_rhe"
     ]
    },
    {
     "name": "potential",
     "type": "number",
     "unit": "V",
     "units": [
      "V",
      "mV"
     ],
     "description": "to_rhe: potential measured against the reference (V; \"450 mV\" works).",
     "required": false
    },
    {
     "name": "target",
     "type": "number",
     "unit": "V",
     "units": [
      "V",
      "mV"
     ],
     "description": "from_rhe: the potential wanted vs RHE (V).",
     "required": false
    },
    {
     "name": "reference",
     "type": "string",
     "description": "Reference electrode (agcl-sat 0.199 V, agcl-3m 0.210, agcl-4m 0.205, sce 0.244, hgo-1m 0.098, hgo-01 0.098, hgo-naoh 0.140, she 0).",
     "required": false,
     "default": "agcl-sat",
     "enum": [
      "agcl-sat",
      "agcl-3m",
      "agcl-4m",
      "sce",
      "hgo-1m",
      "hgo-01",
      "hgo-naoh",
      "she"
     ]
    },
    {
     "name": "e_ref",
     "type": "number",
     "unit": "V",
     "units": [
      "V",
      "mV"
     ],
     "description": "Your calibrated reference potential vs SHE (overrides reference).",
     "required": false
    },
    {
     "name": "ph",
     "type": "number",
     "description": "pH of the electrolyte.",
     "required": true
    },
    {
     "name": "temperature",
     "type": "number",
     "unit": "C",
     "units": [
      "C"
     ],
     "description": "Temperature (°C), for the Nernst slope.",
     "required": false,
     "default": 25
    },
    {
     "name": "current",
     "type": "number",
     "unit": "A",
     "units": [
      "A",
      "mA",
      "µA",
      "nA"
     ],
     "description": "Optional current (signed, anodic positive), for iR correction.",
     "required": false
    },
    {
     "name": "resistance",
     "type": "number",
     "unit": "ohm",
     "units": [
      "ohm",
      "kohm",
      "Mohm",
      "mohm"
     ],
     "description": "Optional uncompensated resistance (Ω), for iR correction.",
     "required": false
    }
   ]
  },
  {
   "slug": "tafel-slope-calculator",
   "title": "Tafel slope calculator",
   "description": "Tafel slope (mV/dec), exchange current density j₀ and α·n from a polarisation curve: least squares of η = a + b·log₁₀|j| over a chosen |η| range.",
   "api": "https://www.labcanvas.com/api/tools/tafel-slope-calculator",
   "example": "https://www.labcanvas.com/api/tools/tafel-slope-calculator?potential=1.45%2C1.47%2C1.49%2C1.51%2C1.53%2C1.55%2C1.57%2C1.59%2C1.61&current=0.42%2C0.95%2C1.9%2C3.6%2C6.4%2C10.8%2C17.0%2C24.5%2C32.0&eta_min=260&eta_max=320",
   "page": "https://www.labcanvas.com/tools/tafel-slope-calculator",
   "markdown": "https://www.labcanvas.com/tools/tafel-slope-calculator.md",
   "mcp_tool": "calc_tafel_slope",
   "params": [
    {
     "name": "potential",
     "type": "number[]",
     "unit": "V",
     "units": [
      "V",
      "mV"
     ],
     "description": "Potential of each point: V vs RHE (iR-corrected), or the overpotential when reaction = overpotential.",
     "required": true
    },
    {
     "name": "current",
     "type": "number[]",
     "description": "Current density of each point (any unit; j₀ is given in the same unit).",
     "required": true
    },
    {
     "name": "reaction",
     "type": "string",
     "description": "oer (η = E − 1.23 V), her (η = E), custom (η = E − equilibrium), or overpotential (the potentials are η already).",
     "required": false,
     "default": "oer",
     "enum": [
      "oer",
      "her",
      "custom",
      "overpotential"
     ]
    },
    {
     "name": "equilibrium",
     "type": "number",
     "unit": "V",
     "units": [
      "V",
      "mV"
     ],
     "description": "custom: the equilibrium potential vs RHE.",
     "required": false
    },
    {
     "name": "eta_min",
     "type": "number",
     "unit": "mV",
     "description": "Fit only points with |η| at or above this (mV).",
     "required": false
    },
    {
     "name": "eta_max",
     "type": "number",
     "unit": "mV",
     "description": "Fit only points with |η| at or below this (mV).",
     "required": false
    },
    {
     "name": "temperature",
     "type": "number",
     "unit": "C",
     "units": [
      "C"
     ],
     "description": "Temperature (°C), for α·n.",
     "required": false,
     "default": 25
    }
   ]
  },
  {
   "slug": "faradaic-efficiency-calculator",
   "title": "Faradaic efficiency calculator",
   "description": "Faradaic efficiency of an electrolysis product from its moles and the charge (FE = z·n·F/Q), or of a gas product from on-line GC (z·F·x·v·p / R·T·I).",
   "api": "https://www.labcanvas.com/api/tools/faradaic-efficiency-calculator",
   "example": "https://www.labcanvas.com/api/tools/faradaic-efficiency-calculator?product=h2&amount=120+%C2%B5mol&current=10+mA&time=1+h",
   "page": "https://www.labcanvas.com/tools/faradaic-efficiency-calculator",
   "markdown": "https://www.labcanvas.com/tools/faradaic-efficiency-calculator.md",
   "mcp_tool": "calc_faradaic_efficiency",
   "params": [
    {
     "name": "mode",
     "type": "string",
     "description": "moles: product amount and charge; gas: GC volume fraction in a flowing outlet.",
     "required": false,
     "default": "moles",
     "enum": [
      "moles",
      "gas"
     ]
    },
    {
     "name": "product",
     "type": "string",
     "description": "Product (sets z): h2 2, o2 4, co 2, hcooh 2, ch4 8, nh3 8.",
     "required": false,
     "enum": [
      "h2",
      "o2",
      "co",
      "hcooh",
      "ch4",
      "nh3"
     ]
    },
    {
     "name": "z",
     "type": "integer",
     "description": "Electrons per molecule (overrides product).",
     "required": false
    },
    {
     "name": "amount",
     "type": "number",
     "unit": "mol",
     "units": [
      "mol",
      "mmol",
      "µmol",
      "nmol",
      "pmol"
     ],
     "description": "moles: amount of product (e.g. \"120 µmol\").",
     "required": false
    },
    {
     "name": "charge",
     "type": "number",
     "unit": "C",
     "units": [
      "C",
      "mC",
      "mAh"
     ],
     "description": "moles: charge passed (C); or give current and time.",
     "required": false
    },
    {
     "name": "current",
     "type": "number",
     "unit": "A",
     "units": [
      "A",
      "mA",
      "µA",
      "nA"
     ],
     "description": "Current (A; \"10 mA\" works): with time (moles mode) or the total current (gas mode).",
     "required": false
    },
    {
     "name": "time",
     "type": "number",
     "unit": "s",
     "units": [
      "s",
      "min",
      "h"
     ],
     "description": "moles: electrolysis time (s; \"1 h\" works).",
     "required": false
    },
    {
     "name": "fraction",
     "type": "number",
     "unit": "ppm",
     "units": [
      "ppm",
      "%"
     ],
     "description": "gas: volume fraction of the product in the outlet gas (ppm, or \"1.8 %\").",
     "required": false
    },
    {
     "name": "flow",
     "type": "number",
     "unit": "mL/min",
     "units": [
      "mL/min",
      "L/min",
      "mL/s"
     ],
     "description": "gas: outlet flow rate (mL/min).",
     "required": false
    },
    {
     "name": "pressure",
     "type": "number",
     "unit": "kPa",
     "units": [
      "kPa",
      "bar",
      "atm",
      "Pa"
     ],
     "description": "gas: pressure (kPa).",
     "required": false,
     "default": 101.325
    },
    {
     "name": "temperature",
     "type": "number",
     "unit": "C",
     "units": [
      "C"
     ],
     "description": "gas: temperature (°C).",
     "required": false,
     "default": 25
    }
   ]
  },
  {
   "slug": "supercapacitor-calculator",
   "title": "Supercapacitor calculator",
   "description": "Specific capacitance from a galvanostatic discharge (C = I·Δt / m·ΔV), with energy and power density of a symmetric cell, and a battery C-rate current.",
   "api": "https://www.labcanvas.com/api/tools/supercapacitor-calculator",
   "example": "https://www.labcanvas.com/api/tools/supercapacitor-calculator?current=1+mA&discharge_time=100&voltage_window=0.95&mass=2+mg",
   "page": "https://www.labcanvas.com/tools/supercapacitor-calculator",
   "markdown": "https://www.labcanvas.com/tools/supercapacitor-calculator.md",
   "mcp_tool": "calc_supercapacitor",
   "params": [
    {
     "name": "current",
     "type": "number",
     "unit": "A",
     "units": [
      "A",
      "mA",
      "µA",
      "nA"
     ],
     "description": "Discharge current (A; \"1 mA\" works).",
     "required": true
    },
    {
     "name": "discharge_time",
     "type": "number",
     "unit": "s",
     "units": [
      "s",
      "min",
      "h"
     ],
     "description": "Discharge time Δt (s).",
     "required": true
    },
    {
     "name": "voltage_window",
     "type": "number",
     "unit": "V",
     "units": [
      "V",
      "mV"
     ],
     "description": "Voltage window ΔV with the IR drop removed (V).",
     "required": true
    },
    {
     "name": "mass",
     "type": "number",
     "unit": "g",
     "units": [
      "kg",
      "g",
      "mg",
      "µg",
      "ng"
     ],
     "description": "Active mass (g; \"2 mg\" works): both electrodes for a cell, one for an electrode.",
     "required": true
    },
    {
     "name": "setup",
     "type": "string",
     "description": "cell: symmetric two-electrode cell (gives per-electrode C, energy and power); electrode: three-electrode measurement.",
     "required": false,
     "default": "cell",
     "enum": [
      "cell",
      "electrode"
     ]
    }
   ]
  },
  {
   "slug": "coulombic-efficiency-calculator",
   "title": "Coulombic efficiency calculator",
   "description": "Coulombic efficiency per cycle, first-cycle loss, average CE and capacity retention from charge and discharge capacities.",
   "api": "https://www.labcanvas.com/api/tools/coulombic-efficiency-calculator",
   "example": "https://www.labcanvas.com/api/tools/coulombic-efficiency-calculator?charge=228.4%2C203.5%2C202.1%2C201.0&discharge=201.6%2C201.2%2C200.4%2C199.6",
   "page": "https://www.labcanvas.com/tools/coulombic-efficiency-calculator",
   "markdown": "https://www.labcanvas.com/tools/coulombic-efficiency-calculator.md",
   "mcp_tool": "calc_coulombic_efficiency",
   "params": [
    {
     "name": "charge",
     "type": "number[]",
     "description": "Charge capacity of each cycle (mAh/g or any one unit).",
     "required": true
    },
    {
     "name": "discharge",
     "type": "number[]",
     "description": "Discharge capacity of each cycle, in the same unit and order.",
     "required": true
    },
    {
     "name": "cell",
     "type": "string",
     "description": "cathode (or full cell): CE = discharge / charge; anode half-cell (lithiation on discharge): CE = charge / discharge.",
     "required": false,
     "default": "cathode",
     "enum": [
      "cathode",
      "anode"
     ]
    },
    {
     "name": "reference_cycle",
     "type": "integer",
     "description": "Cycle whose output capacity is 100 % retention.",
     "required": false,
     "default": 1
    }
   ]
  },
  {
   "slug": "ionic-conductivity-calculator",
   "title": "Ionic conductivity calculator",
   "description": "Ionic conductivity of a pellet or membrane from its bulk resistance (EIS), thickness and area: σ = L / (R·A).",
   "api": "https://www.labcanvas.com/api/tools/ionic-conductivity-calculator",
   "example": "https://www.labcanvas.com/api/tools/ionic-conductivity-calculator?thickness=1.05+mm&resistance=357.04&diameter=10+mm",
   "page": "https://www.labcanvas.com/tools/ionic-conductivity-calculator",
   "markdown": "https://www.labcanvas.com/tools/ionic-conductivity-calculator.md",
   "mcp_tool": "calc_ionic_conductivity",
   "params": [
    {
     "name": "thickness",
     "type": "number",
     "unit": "cm",
     "units": [
      "cm",
      "mm",
      "µm",
      "m"
     ],
     "description": "Sample thickness L (cm; \"1.05 mm\" works).",
     "required": true
    },
    {
     "name": "resistance",
     "type": "number",
     "unit": "ohm",
     "units": [
      "ohm",
      "kohm",
      "Mohm",
      "mohm"
     ],
     "description": "Bulk resistance R from the impedance spectrum (Ω).",
     "required": true
    },
    {
     "name": "area",
     "type": "number",
     "unit": "cm²",
     "units": [
      "cm²",
      "mm²"
     ],
     "description": "Electrode area A (cm²); or give diameter.",
     "required": false
    },
    {
     "name": "diameter",
     "type": "number",
     "unit": "cm",
     "units": [
      "cm",
      "mm",
      "µm",
      "m"
     ],
     "description": "Electrode diameter (cm; \"10 mm\" works), for a round electrode.",
     "required": false
    }
   ]
  },
  {
   "slug": "xrd-scherrer-calculator",
   "title": "XRD Scherrer calculator",
   "description": "Crystallite size by the Scherrer equation (D = Kλ / β cos θ) and d-spacing by Bragg’s law for one peak or a list, with instrumental broadening removed.",
   "api": "https://www.labcanvas.com/api/tools/xrd-scherrer-calculator",
   "example": "https://www.labcanvas.com/api/tools/xrd-scherrer-calculator?two_theta=36.3&fwhm=0.4",
   "page": "https://www.labcanvas.com/tools/xrd-scherrer-calculator",
   "markdown": "https://www.labcanvas.com/tools/xrd-scherrer-calculator.md",
   "mcp_tool": "calc_xrd_scherrer",
   "params": [
    {
     "name": "two_theta",
     "type": "number[]",
     "description": "Peak position(s) 2θ in degrees.",
     "required": true
    },
    {
     "name": "fwhm",
     "type": "number[]",
     "description": "FWHM of each peak in degrees 2θ.",
     "required": true
    },
    {
     "name": "wavelength",
     "type": "number",
     "unit": "Å",
     "units": [
      "Å",
      "A",
      "nm"
     ],
     "description": "X-ray wavelength (Å); Cu Kα1 1.54056.",
     "required": false,
     "default": 1.54056
    },
    {
     "name": "k",
     "type": "number",
     "description": "Shape factor K (0.9 common, 0.94 spheres).",
     "required": false,
     "default": 0.9
    },
    {
     "name": "instrumental",
     "type": "number",
     "description": "Instrumental FWHM (degrees), removed in quadrature.",
     "required": false,
     "default": 0
    }
   ]
  },
  {
   "slug": "bet-surface-area-calculator",
   "title": "BET surface area calculator",
   "description": "BET specific surface area from an adsorption isotherm, with the fitting range chosen by the Rouquerol consistency criteria (ISO 9277).",
   "api": "https://www.labcanvas.com/api/tools/bet-surface-area-calculator",
   "example": "https://www.labcanvas.com/api/tools/bet-surface-area-calculator?p_p0=0.05%2C0.075%2C0.1%2C0.125%2C0.15%2C0.175%2C0.2%2C0.225%2C0.25%2C0.275%2C0.3&amount=99.1331%2C107.8547%2C114.2406%2C119.7009%2C124.7764%2C129.7267%2C134.6995%2C139.7914%2C145.0744%2C150.6087%2C156.4495",
   "page": "https://www.labcanvas.com/tools/bet-surface-area-calculator",
   "markdown": "https://www.labcanvas.com/tools/bet-surface-area-calculator.md",
   "mcp_tool": "calc_bet_surface_area",
   "params": [
    {
     "name": "p_p0",
     "type": "number[]",
     "description": "Relative pressure p/p₀ of each point.",
     "required": true
    },
    {
     "name": "amount",
     "type": "number[]",
     "description": "Amount adsorbed at each point (per gram), in amount_unit.",
     "required": true
    },
    {
     "name": "amount_unit",
     "type": "string",
     "description": "cm3 (cm³ STP/g), mmol (mmol/g) or mg (mg/g).",
     "required": false,
     "default": "cm3",
     "enum": [
      "cm3",
      "mmol",
      "mg"
     ]
    },
    {
     "name": "adsorbate",
     "type": "string",
     "description": "N₂ at 77 K (σ 0.162 nm²), Ar at 87 K (0.142 nm²), or custom.",
     "required": false,
     "default": "n2",
     "enum": [
      "n2",
      "ar",
      "custom"
     ]
    },
    {
     "name": "sigma",
     "type": "number",
     "unit": "nm²",
     "description": "custom: cross-sectional area (nm²).",
     "required": false
    },
    {
     "name": "molar_mass",
     "type": "number",
     "unit": "g/mol",
     "description": "custom with mg/g: molar mass of the adsorbate.",
     "required": false
    },
    {
     "name": "range_min",
     "type": "number",
     "description": "Fit p/p₀ from this value (with range_max); else the range is chosen automatically.",
     "required": false
    },
    {
     "name": "range_max",
     "type": "number",
     "description": "Fit p/p₀ up to this value.",
     "required": false
    }
   ]
  },
  {
   "slug": "astm-grain-size-calculator",
   "title": "ASTM grain size calculator",
   "description": "ASTM E112 grain size number G from the mean lineal intercept, grains per mm², mean grain area or grains per square inch at 100×, and everything G stands for.",
   "api": "https://www.labcanvas.com/api/tools/astm-grain-size-calculator",
   "example": "https://www.labcanvas.com/api/tools/astm-grain-size-calculator?intercept=0.020+mm",
   "page": "https://www.labcanvas.com/tools/astm-grain-size-calculator",
   "markdown": "https://www.labcanvas.com/tools/astm-grain-size-calculator.md",
   "mcp_tool": "calc_astm_grain_size",
   "params": [
    {
     "name": "intercept",
     "type": "number",
     "unit": "mm",
     "units": [
      "mm",
      "µm",
      "nm"
     ],
     "description": "Mean lineal intercept length ℓ̄ (mm; \"20 µm\" works).",
     "required": false
    },
    {
     "name": "grains_per_mm2",
     "type": "number",
     "description": "Grains per mm² at 1× (N_A).",
     "required": false
    },
    {
     "name": "mean_area",
     "type": "number",
     "unit": "mm²",
     "units": [
      "mm²",
      "µm²",
      "nm²"
     ],
     "description": "Mean grain area (mm²; \"500 µm²\" works).",
     "required": false
    },
    {
     "name": "grains_per_in2_100x",
     "type": "number",
     "description": "Grains per square inch at 100× (N).",
     "required": false
    },
    {
     "name": "g",
     "type": "number",
     "description": "A grain size number, to get what it stands for.",
     "required": false
    }
   ]
  },
  {
   "slug": "microscope-pixel-size-calculator",
   "title": "Microscope pixel size calculator",
   "description": "Pixel size in the specimen from the camera pixel, objective, extra magnification and binning, or from a calibration; field of view and Nyquist sampling.",
   "api": "https://www.labcanvas.com/api/tools/microscope-pixel-size-calculator",
   "example": "https://www.labcanvas.com/api/tools/microscope-pixel-size-calculator?camera_pixel=6.5&objective=20",
   "page": "https://www.labcanvas.com/tools/microscope-pixel-size-calculator",
   "markdown": "https://www.labcanvas.com/tools/microscope-pixel-size-calculator.md",
   "mcp_tool": "calc_microscope_pixel_size",
   "params": [
    {
     "name": "camera_pixel",
     "type": "number",
     "unit": "µm",
     "units": [
      "nm",
      "µm",
      "mm"
     ],
     "description": "Camera (sensor) pixel size (µm).",
     "required": false
    },
    {
     "name": "objective",
     "type": "number",
     "description": "Objective magnification (e.g. 20, 63).",
     "required": false
    },
    {
     "name": "extra",
     "type": "number",
     "description": "Further magnification between objective and camera (camera adapter, 1 when none).",
     "required": false,
     "default": 1
    },
    {
     "name": "binning",
     "type": "integer",
     "description": "On-chip binning (1, 2, 4…).",
     "required": false,
     "default": 1
    },
    {
     "name": "known_length",
     "type": "number",
     "unit": "µm",
     "units": [
      "nm",
      "µm",
      "mm"
     ],
     "description": "Calibration: a known length (e.g. \"100 µm\" of a stage micrometer).",
     "required": false
    },
    {
     "name": "pixels",
     "type": "number",
     "description": "Calibration: the number of pixels that length spans.",
     "required": false
    },
    {
     "name": "sensor_width_px",
     "type": "integer",
     "description": "Optional sensor width in pixels, for the field of view.",
     "required": false
    },
    {
     "name": "sensor_height_px",
     "type": "integer",
     "description": "Optional sensor height in pixels.",
     "required": false
    },
    {
     "name": "wavelength",
     "type": "number",
     "unit": "nm",
     "description": "Optional emission wavelength (nm), with na, for Nyquist sampling.",
     "required": false
    },
    {
     "name": "na",
     "type": "number",
     "description": "Optional numerical aperture of the objective.",
     "required": false
    }
   ]
  },
  {
   "slug": "protein-assay-standard-curve",
   "title": "Protein assay standard curve (BCA, Bradford)",
   "description": "Protein concentration of samples from a BCA or Bradford standard curve: blank subtraction, linear or quadratic least-squares fit, dilution factors and range flags.",
   "api": "https://www.labcanvas.com/api/tools/protein-assay-standard-curve",
   "example": "https://www.labcanvas.com/api/tools/protein-assay-standard-curve?standards=0%2C25%2C125%2C250%2C500%2C750%2C1000%2C1500%2C2000&standard_abs=0.095%2C0.130%2C0.235%2C0.375%2C0.640%2C0.890%2C1.120%2C1.560%2C1.950&sample_abs=0.700%2C1.200&dilution=5%2C1",
   "page": "https://www.labcanvas.com/tools/protein-assay-standard-curve",
   "markdown": "https://www.labcanvas.com/tools/protein-assay-standard-curve.md",
   "mcp_tool": "calc_protein_assay_standard_curve",
   "params": [
    {
     "name": "standards",
     "type": "number[]",
     "description": "Standard concentration of each standard well (repeat for replicates; include 0 for the blank).",
     "required": true
    },
    {
     "name": "standard_abs",
     "type": "number[]",
     "description": "Absorbance of each standard well, in the same order.",
     "required": true
    },
    {
     "name": "sample_abs",
     "type": "number[]",
     "description": "Absorbance of each sample (one value per sample; average replicates first).",
     "required": true
    },
    {
     "name": "dilution",
     "type": "number[]",
     "description": "Dilution factor of each sample (default 1).",
     "required": false
    },
    {
     "name": "model",
     "type": "string",
     "description": "Curve: quadratic (BCA over a wide range) or linear.",
     "required": false,
     "default": "quadratic",
     "enum": [
      "quadratic",
      "linear"
     ]
    },
    {
     "name": "blank",
     "type": "boolean",
     "description": "Subtract the mean absorbance of the 0 standard from every well.",
     "required": false,
     "default": true
    },
    {
     "name": "unit",
     "type": "string",
     "description": "Unit of the standards (answer text only).",
     "required": false,
     "default": "µg/mL"
    }
   ]
  }
 ],
 "not_in_api": [
  {
   "slug": "elisa-standard-curve-analyzer",
   "page": "https://www.labcanvas.com/tools/elisa-standard-curve-analyzer",
   "why": "The 4PL inverse prediction, blank and dilution handling live only in the page script; not yet extracted into a pure module."
  },
  {
   "slug": "tauc-plot-band-gap-calculator",
   "page": "https://www.labcanvas.com/tools/tauc-plot-band-gap-calculator",
   "why": "Runs in the Graph app engine (a Web Worker loaded by the page) on a whole spectrum with automatic range search; no DOM-free entry point."
  },
  {
   "slug": "graphene-raman-layer-calculator",
   "page": "https://www.labcanvas.com/tools/graphene-raman-layer-calculator",
   "why": "Fits peaks on an uploaded spectrum in the page script; its criteria are applied to the fitted peaks there."
  }
 ]
}