generate_config
Generate a meterproof.yml for the given meter, ledger and column names. Values are validated; nothing is stored.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ledger | No | Where your usage records live. Default csv. | |
| mapping | No | How your customer ids map to Stripe customer ids: a customers.csv file, or a ledger column. Default csv. | |
| meter_id | No | Stripe meter id (mtr_...). Default mtr_REPLACE_ME. | |
| price_id | No | Optional Stripe price id (price_...) to check subscriptions and estimate money impact. | |
| customer_column | No | Ledger column holding your customer id. Default customer. | |
| quantity_column | No | Ledger column holding the value you sent to Stripe. Default quantity. | |
| timestamp_column | No | Ledger column holding the event timestamp you sent to Stripe. Default timestamp. |