metered_billing
Set up usage-based billing with tiered pricing, real-time usage tracking, and threshold alerts to monitor consumption.
Instructions
Configure metered/usage-based billing with real-time usage tracking and threshold alerts
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": {
"meter_name": "<meter_name>",
"unit": "<unit>",
"tiers": "<tiers>"
},
"name": "metered_billing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | Unit of measurement (e.g., api_calls, gb_stored) | |
| tiers | Yes | Pricing tiers | |
| api_key | No | API key for authentication | |
| meter_name | Yes | Name of the usage meter | |
| reset_period | No | monthly |