Live: revenue trend
live_revenue_trendReads the Live app's day-by-day revenue and top products between from (inclusive) and before (exclusive), both YYYY-MM-DD, at most 180 days at a time — refund-aware, per currency, from Gemmein's own stored payment events, never a live Stripe call. Also answers churn for the period (subscriptions cancelled, active at the start, the rate) when there is one to compute. The same finer-grained numbers the dashboard's Payments chart reads; live_revenue's own read is the coarser monthly aggregate. live:read; audited; changes nothing. This is what a founder may call their revenue chart or sales trend.
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": {
"from": "<from>",
"before": "<before>"
},
"name": "live_revenue_trend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | YYYY-MM-DD, inclusive | |
| before | Yes | YYYY-MM-DD, exclusive |