api_bank_loan_compare
Compare two fixed-rate amortizing loan offers, including upfront fee and total scheduled repayment. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.
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>",
"rate_a_pct": "<rate_a_pct>",
"months_a": "<months_a>",
"rate_b_pct": "<rate_b_pct>",
"months_b": "<months_b>"
},
"name": "api_bank_loan_compare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fee_a | No | fee a; see operation description for units and format | |
| fee_b | No | fee b; see operation description for units and format | |
| months_a | Yes | months a; see operation description for units and format | |
| months_b | Yes | months b; see operation description for units and format | |
| principal | Yes | principal; see operation description for units and format | |
| rate_a_pct | Yes | rate a pct; see operation description for units and format | |
| rate_b_pct | Yes | rate b pct; see operation description for units and format |