{
  "tool_id": "lean_body_mass_calculator",
  "slug": "lean-body-mass-calculator",
  "path": "/lean-body-mass-calculator/",
  "mode": "engine_module",
  "usage": "Client-side calculator. Open https://aifithub.io/lean-body-mass-calculator/ and fill in the inputs; results render in-browser. Also importable as ES module from https://aifithub.io/engines/lean-body-mass-calculator.js — call compute(input) with the JSON shape below.",
  "methodology": "https://aifithub.io/methodology/lean-body-mass-calculator/",
  "sample_input": {
    "tool": "lean_body_mass_calculator",
    "sex": "male",
    "weight_kg": 80,
    "height_cm": 178
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "sex": {
        "type": "string"
      },
      "weight_kg": {
        "type": "number"
      },
      "height_cm": {
        "type": "number"
      }
    },
    "required": [
      "tool",
      "sex",
      "weight_kg",
      "height_cm"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "formulas": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "lbmKg": {
              "type": "number"
            },
            "bodyFatPct": {
              "type": "number"
            }
          }
        }
      },
      "averageLbmKg": {
        "type": "number"
      },
      "averageBodyFatPct": {
        "type": "number"
      },
      "weightKg": {
        "type": "number"
      }
    }
  }
}
