{
  "tool_id": "student_loan_forgiveness",
  "slug": "student-loan-forgiveness-tracker",
  "path": "/student-loan-forgiveness-tracker/",
  "mode": "url_api",
  "api_usage": "GET https://aifinhub.io/api/student-loan-forgiveness-tracker/?<params>",
  "sample_input": {
    "tool": "student_loan_forgiveness_tracker",
    "loan_balance": "80000",
    "monthly_payment": "400",
    "payments_made": "60",
    "total_required_payments": "120",
    "interest_rate_percent": "5",
    "tax_rate_at_forgiveness_percent": "22",
    "program_type": "idr"
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "loan_balance": {
        "type": "number",
        "minimum": 0
      },
      "monthly_payment": {
        "type": "number",
        "minimum": 0
      },
      "payments_made": {
        "type": "number",
        "minimum": 0
      },
      "total_required_payments": {
        "type": "number",
        "minimum": 1,
        "maximum": 600
      },
      "interest_rate_percent": {
        "type": "number",
        "minimum": 0,
        "maximum": 30
      },
      "tax_rate_at_forgiveness_percent": {
        "type": "number",
        "minimum": 0,
        "maximum": 60
      },
      "program_type": {
        "type": "string",
        "enum": [
          "idr",
          "pslf"
        ]
      }
    },
    "required": [
      "loan_balance",
      "monthly_payment",
      "payments_made",
      "total_required_payments",
      "interest_rate_percent",
      "tax_rate_at_forgiveness_percent",
      "program_type"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "primaryLabel": {
        "type": "string"
      },
      "primaryValue": {
        "type": "number"
      },
      "primaryFormat": {
        "type": "string"
      },
      "summary": {
        "type": "string"
      },
      "metrics": {
        "type": "array"
      },
      "warnings": {
        "type": "array"
      }
    }
  }
}
