{
  "tool_id": "plate_loading_calculator",
  "slug": "plate-loading-calculator",
  "path": "/plate-loading-calculator/",
  "mode": "url_api",
  "api_usage": "GET https://aifithub.io/api/plate-loading-calculator/?<params>",
  "sample_input": {
    "tool": "plate_loading_calculator",
    "target_weight": 100,
    "bar_weight": 20,
    "available_plates": [
      25,
      20,
      15,
      10,
      5,
      2.5,
      1.25
    ]
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "target_weight": {
        "type": "number"
      },
      "bar_weight": {
        "type": "number"
      },
      "available_plates": {
        "type": "array",
        "items": {
          "type": "number"
        }
      }
    },
    "required": [
      "target_weight",
      "bar_weight",
      "available_plates"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "achievable": {
        "type": "boolean"
      },
      "loadedWeight": {
        "type": "number"
      },
      "platesPerSide": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "plate": {
              "type": "number"
            },
            "count": {
              "type": "number"
            }
          }
        }
      },
      "nearestWeight": {
        "type": [
          "number",
          "null"
        ]
      }
    }
  }
}
