{
  "tool_id": "workout_volume",
  "slug": "workout-volume-calculator",
  "path": "/workout-volume-calculator/",
  "mode": "url_api",
  "api_usage": "GET https://aifithub.io/api/workout-volume-calculator/?<params>",
  "sample_input": {
    "tool": "workout_volume",
    "unit": "lbs",
    "exercises": [
      {
        "name": "Bench Press",
        "muscle_group": "chest",
        "sets": 4,
        "reps": 8,
        "weight": 185
      },
      {
        "name": "Incline DB Press",
        "muscle_group": "chest",
        "sets": 3,
        "reps": 10,
        "weight": 60
      },
      {
        "name": "Cable Fly",
        "muscle_group": "chest",
        "sets": 3,
        "reps": 12,
        "weight": 30
      }
    ]
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "unit": {
        "type": "string"
      },
      "exercises": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "muscle_group": {
              "type": "string"
            },
            "sets": {
              "type": "integer"
            },
            "reps": {
              "type": "integer"
            },
            "weight": {
              "type": "integer"
            }
          },
          "required": [
            "name",
            "muscle_group",
            "sets",
            "reps",
            "weight"
          ]
        }
      }
    },
    "required": [
      "tool",
      "unit",
      "exercises"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "exercises": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "muscleGroup": {
              "type": "string"
            },
            "sets": {
              "type": "number"
            },
            "reps": {
              "type": "number"
            },
            "weightKg": {
              "type": "number"
            },
            "volumeLoad": {
              "type": "number"
            }
          }
        }
      },
      "muscleGroups": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "muscleGroup": {
              "type": "string"
            },
            "totalSets": {
              "type": "number"
            },
            "totalVolumeLoad": {
              "type": "number"
            },
            "optimalMin": {
              "type": "number"
            },
            "optimalMax": {
              "type": "number"
            },
            "status": {
              "type": "string"
            }
          }
        }
      },
      "totalVolumeLoad": {
        "type": "number"
      },
      "totalSets": {
        "type": "number"
      }
    }
  }
}
