Raw schema
{
"type": "object",
"properties": {
"calculator_type": {
"type": "string",
"description": "The type of financial calculation to perform. Must be one of: compound_interest, loan_repayment, roi, present_value, future_value, break_even."
},
"principal": {
"type": "number",
"description": "Starting amount or loan amount in your chosen currency. Used for compound_interest, loan_repayment, and future_value calculations."
},
"rate": {
"type": "number",
"description": "Annual interest or discount rate expressed as a percentage. Example: 5 for 5% per year. Used for compound_interest, loan_repayment, present_value, and future_value."
},
"periods": {
"type": "number",
"description": "Number of time periods. For compound_interest and future_value: years. For loan_repayment: months. For roi: years used for annualised ROI."
},
"initial_value": {
"type": "number",
"description": "Starting value of an investment or asset. Used for roi calculations."
},
"final_value": {
"type": "number",
"description": "Ending value of an investment or asset. Used for roi and present_value calculations."
},
"discount_rate": {
"type": "number",
"description": "Annual discount rate as a percentage for present value calculations. Represents the required rate of return or cost of capital."
},
"future_amount": {
"type": "number",
"description": "The target future cash amount to discount back to present value. Used for present_value calculations."
},
"fixed_costs": {
"type": "number",
"description": "Total fixed costs of the business or project that do not vary with output volume. Used for break_even calculations."
},
"variable_cost_per_unit": {
"type": "number",
"description": "The variable cost incurred for each unit produced or sold. Used for break_even calculations."
},
"price_per_unit": {
"type": "number",
"description": "The selling price per unit of product or service. Used for break_even calculations."
}
},
"required": [
"calculator_type"
]
}