{
  "tool_id": "emergency_fund",
  "slug": "emergency-fund-calculator",
  "path": "/emergency-fund-calculator/",
  "mode": "url_api",
  "api_usage": "GET https://aifinhub.io/api/emergency-fund-calculator/?<params>",
  "sample_input": {
    "tool": "emergency_fund",
    "monthly_essential_expenses": 3600,
    "current_emergency_fund": 9000,
    "monthly_savings_capacity": 850,
    "dependents_count": 1,
    "job_stability_score": 3,
    "deductible_exposure": 2500
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "monthly_essential_expenses": {
        "type": "integer"
      },
      "current_emergency_fund": {
        "type": "integer"
      },
      "monthly_savings_capacity": {
        "type": "integer"
      },
      "dependents_count": {
        "type": "integer"
      },
      "job_stability_score": {
        "type": "integer"
      },
      "deductible_exposure": {
        "type": "integer"
      }
    },
    "required": [
      "tool",
      "monthly_essential_expenses",
      "current_emergency_fund",
      "monthly_savings_capacity",
      "dependents_count",
      "job_stability_score",
      "deductible_exposure"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "recommendedMonths": {
        "type": "number"
      },
      "recommendedTargetFund": {
        "type": "number"
      },
      "conservativeTargetFund": {
        "type": "number"
      },
      "monthsToGoal": {
        "type": "number"
      },
      "monthsToConservativeGoal": {
        "type": "number"
      },
      "monthlyGapToGoal": {
        "type": "number"
      },
      "assumptionsEcho": {
        "type": "object",
        "properties": {
          "monthlyEssentialExpenses": {
            "type": "number"
          },
          "currentEmergencyFund": {
            "type": "number"
          },
          "monthlySavingsCapacity": {
            "type": "number"
          },
          "dependentsCount": {
            "type": "number"
          },
          "jobStabilityScore": {
            "type": "number"
          },
          "deductibleExposure": {
            "type": "number"
          }
        }
      },
      "warnings": {
        "type": "array",
        "items": {}
      }
    }
  }
}
