{
  "tool_id": "credit_utilization_calculator",
  "slug": "credit-utilization-calculator",
  "path": "/credit-utilization-calculator/",
  "mode": "url_api",
  "api_usage": "GET https://aifinhub.io/api/credit-utilization-calculator/?<params>",
  "sample_input": {
    "tool": "credit_utilization",
    "cards": [
      {
        "name": "Chase",
        "balance": 1500,
        "limit": 5000
      },
      {
        "name": "Amex",
        "balance": 800,
        "limit": 10000
      }
    ]
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "cards": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "balance": {
              "type": "integer"
            },
            "limit": {
              "type": "integer"
            }
          },
          "required": [
            "name",
            "balance",
            "limit"
          ]
        }
      }
    },
    "required": [
      "tool",
      "cards"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "cards": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "balance": {
              "type": "number"
            },
            "limit": {
              "type": "number"
            },
            "utilizationPct": {
              "type": "number"
            },
            "rating": {
              "type": "string"
            }
          }
        }
      },
      "totalBalance": {
        "type": "number"
      },
      "totalLimit": {
        "type": "number"
      },
      "overallUtilizationPct": {
        "type": "number"
      },
      "overallRating": {
        "type": "string"
      },
      "targetBalanceFor30Pct": {
        "type": "number"
      },
      "targetBalanceFor10Pct": {
        "type": "number"
      },
      "amountToPayFor30Pct": {
        "type": "number"
      },
      "amountToPayFor10Pct": {
        "type": "number"
      },
      "warnings": {
        "type": "array",
        "items": {}
      }
    }
  }
}
