AI cost, revenue and margin of the app
get_margin_overviewThe app's AI cost, revenue, margin, share of revenue spent on AI, request count and daily series over a period. Needs the app's key.
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_margin_overview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days back to look, counting today. |