{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "amps": {
      "anyOf": [
        {
          "type": "number",
          "const": 15
        },
        {
          "type": "number",
          "const": 20
        },
        {
          "type": "number",
          "const": 30
        },
        {
          "type": "number",
          "const": 50
        }
      ],
      "description": "Planned current in amperes"
    },
    "volts": {
      "anyOf": [
        {
          "type": "number",
          "const": 120
        },
        {
          "type": "number",
          "const": 240
        }
      ],
      "description": "Circuit voltage"
    },
    "distanceFeet": {
      "type": "number",
      "minimum": 10,
      "maximum": 200,
      "description": "One-way cord distance in feet"
    },
    "dropLimitPercent": {
      "default": 3,
      "description": "Planning voltage-drop limit",
      "anyOf": [
        {
          "type": "number",
          "const": 3
        },
        {
          "type": "number",
          "const": 5
        }
      ]
    }
  },
  "required": [
    "amps",
    "volts",
    "distanceFeet"
  ],
  "title": "Calculate Generator Cord Size",
  "description": "Compare common American Wire Gauge sizes using load current, voltage, one-way distance, and a voltage-drop planning limit.",
  "x-source": "https://cordfind.com/api/mcp tools/list (probed 2026-11-04, inputSchema of tool calculate_generator_cord_size)"
}