Calculate I bond composite rate
calculate_i_bond_composite_rateCalculate a U.S. I bond composite rate from fixed and semiannual inflation rates using the Treasury formula, rounded to 0.01% with a zero floor for rate predictions.
Instructions
Apply the Treasury formula fixed + 2 x semiannual inflation + fixed x semiannual inflation, rounded to 0.01 percent with a floor of zero. Use it for rate predictions.
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": {
"fixed_rate": "<fixed_rate>",
"semiannual_inflation_rate": "<semiannual_inflation_rate>"
},
"name": "calculate_i_bond_composite_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fixed_rate | Yes | Fixed rate in percent, for example 1.4. | |
| semiannual_inflation_rate | Yes | Semiannual inflation rate in percent, for example 2.04. |