calculate_emi
Calculate the equated monthly instalment (EMI) for a loan by providing the principal amount, annual interest rate, and tenure in months.
Instructions
Calculate the equated monthly instalment (EMI) for a single loan scenario.
Args: principal: Loan amount. interestRate: Annual interest rate expressed in percent (e.g. 9.5). tenure: Total tenure in months. calculation_method: Backend calculation strategy (for example, "reducing").
Returns: Backend JSON payload containing EMI details or an error structure.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"principal": "<principal>",
"interestRate": "<interestRate>",
"tenure": "<tenure>"
},
"name": "calculate_emi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tenure | Yes | ||
| principal | Yes | ||
| interestRate | Yes | ||
| calculation_method | No | reducing |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |