track_event
Record customer usage events for metered billing by specifying meter ID, customer ID, and usage value to track consumption data.
Instructions
Track a single usage event for a customer
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": {
"meterId": "<meterId>",
"customerId": "<customerId>",
"value": "<value>"
},
"name": "track_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meterId | Yes | The meter ID to track against | |
| customerId | Yes | The customer's external ID | |
| value | Yes | The usage value (e.g. '1', '1500') | |
| timestamp | No | ISO 8601 timestamp (defaults to now) | |
| metadata | No | Optional metadata key-value pairs |