{
  "tool_id": "swim_pace_calculator",
  "slug": "swim-pace-calculator",
  "path": "/swim-pace-calculator/",
  "mode": "url_api",
  "api_usage": "GET https://aifithub.io/api/swim-pace-calculator/?<params>",
  "sample_input": {
    "tool": "swim_pace_calculator",
    "mode": "pace",
    "distance_value": 1500,
    "distance_unit": "m",
    "time_seconds": 1800,
    "target_pace_seconds": 120,
    "target_pace_unit": "100m",
    "laps": 0,
    "pool_length": 25,
    "pool_length_unit": "m",
    "stroke_type": "freestyle"
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": { "type": "string" },
      "mode": { "type": "string" },
      "distance_value": { "type": "number" },
      "distance_unit": { "type": "string" },
      "time_seconds": { "type": "number" },
      "target_pace_seconds": { "type": "number" },
      "target_pace_unit": { "type": "string" },
      "laps": { "type": "number" },
      "pool_length": { "type": "number" },
      "pool_length_unit": { "type": "string" },
      "stroke_type": { "type": "string" }
    },
    "required": ["tool", "mode", "stroke_type"]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "distanceMeters": { "type": "number" },
      "distanceYards": { "type": "number" },
      "totalTimeSeconds": { "type": "number" },
      "pacePer100mSeconds": { "type": "number" },
      "pacePer100ydSeconds": { "type": "number" },
      "swolfEstimate": { "type": "number" },
      "effortZone": { "type": "string" },
      "strokeType": { "type": "string" }
    }
  }
}
