Graduated Usage Bill
bpj_graduated_usage_billCalculate a two-tier graduated bill by pricing the first units at tier one and only the remainder at tier two.
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": {
"consumption": "<consumption>",
"threshold": "<threshold>",
"tierOne": "<tierOne>",
"tierTwo": "<tierTwo>"
},
"name": "bpj_graduated_usage_bill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tierOne | Yes | ||
| tierTwo | Yes | ||
| threshold | Yes | ||
| consumption | Yes |