compare_loans
Compare loan options by inputting principal, annual rate, and tenure to find the best deal.
Instructions
Compare multiple loan options to find the best deal. Input: JSON array of loans, each with: principal, annual_rate, tenure_years, name. Example: [{"principal": 5000000, "annual_rate": 8.5, "tenure_years": 20, "name": "Bank A"}]
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": {
"loans_json": "<loans_json>"
},
"name": "compare_loans"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loans_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |