Get revenue summary
get_revenue_summaryThe studio's revenue between start_date and end_date, in minor units (cents) of the studio's currency, split into class bookings, gift cards sold and private event buyouts, with refunds, comps and chargebacks treated as the studio's own revenue report treats them. Bookings count on the day they were taken and gift cards on the day they were sold. With no dates it covers the 30 days ending today. Use it for any question about money; the note field explains how refunds were counted.
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": "get_revenue_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | last day to include, inclusive, YYYY-MM-DD; when left out it is today, or the 30th day from start_date when only start_date is given | |
| start_date | No | first day to include, YYYY-MM-DD in the studio's timezone; when left out the window is the 30 days ending on end_date |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| note | Yes | ||
| currency | No | ||
| timezone | Yes | ||
| total_cents | Yes | the three totals above added together; the studio's revenue for the window | |
| class_bookings | Yes | ||
| private_events | Yes | ||
| gift_card_sales | Yes |