ai_usage_log_export
Export billing ledger rows as CSV for a specific tenant and date range to support month-end invoice generation and audit trails.
Instructions
Export billing ledger rows as CSV for a tenant + date range. Used for month-end invoice generation and audit trails.
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": "ai_usage_log_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_to | No | ISO-8601 UTC (inclusive). | |
| date_from | No | ISO-8601 UTC (inclusive). | |
| connection | No | default | |
| tenant_code | No | Tenant slug. Derived from connection if omitted. |