Users by margin, worst first
list_users_by_marginEach user's AI cost, revenue and margin over a period, the users losing the most money first. 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": "list_users_by_margin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days back to look, counting today. | |
| limit | No | ||
| losingOnly | No | Only users whose AI cost is above their revenue. |