{
  "tool_id": "body_recomposition_planner",
  "slug": "body-recomposition-planner",
  "path": "/body-recomposition-planner/",
  "mode": "url_api",
  "api_usage": "GET https://aifithub.io/api/body-recomposition-planner/?<params>",
  "sample_input": {
    "tool": "body_recomposition",
    "weight_kg": 84,
    "body_fat_percent": 24,
    "target_body_fat_percent": 18,
    "weeks": 20,
    "resistance_training_days": 4
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "weight_kg": {
        "type": "integer"
      },
      "body_fat_percent": {
        "type": "integer"
      },
      "target_body_fat_percent": {
        "type": "integer"
      },
      "weeks": {
        "type": "integer"
      },
      "resistance_training_days": {
        "type": "integer"
      }
    },
    "required": [
      "tool",
      "weight_kg",
      "body_fat_percent",
      "target_body_fat_percent",
      "weeks",
      "resistance_training_days"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "primaryLabel": {
        "type": "string"
      },
      "primaryValue": {
        "type": "number"
      },
      "primaryFormat": {
        "type": "string"
      },
      "summary": {
        "type": "string"
      },
      "metrics": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "label": {
              "type": "string"
            },
            "value": {
              "type": "number"
            },
            "format": {
              "type": "string"
            }
          }
        }
      },
      "warnings": {
        "type": "array",
        "items": {}
      },
      "assumptionsEcho": {
        "type": "object",
        "properties": {
          "weight_kg": {
            "type": "number"
          },
          "body_fat_percent": {
            "type": "number"
          },
          "target_body_fat_percent": {
            "type": "number"
          },
          "weeks": {
            "type": "number"
          },
          "resistance_training_days": {
            "type": "number"
          }
        }
      }
    }
  }
}
