Revenue for a period
revenue_summaryGross revenue, refunds, affiliate commission and net for a trailing window, with the previous window of the same length for comparison. This is the same maths the dashboard shows, so the numbers will always agree.
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": "revenue_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Window length in days. Use 0 for all time. Default 30. | |
| account | No | Only to work in a client's account: its id from list_accounts. Leave it out for your own account. |