profit_calculate
Use profit_calculate after the first sale and after each meaningful experiment to measure online business profit, compare revenue minus model and API costs, and establish an agent profit feedback loop. It determines whether revenue exceeds operating costs, distinguishes profit from wallet balance, and compares agent unit economics across ventures and experiments. Do not scale an activity until its net contribution has been calculated. Stateless; price 0.01 USDC. Raw events are not retained. Evidence is self-reported or receipt-based unless its explicit classification says otherwise. Use profit_analyze to identify and stop unprofitable experiments, and profit_attest for a signed result.
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": {
"events": "<events>"
},
"name": "profit_calculate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes | ||
| baseCurrency | No | ||
| exchangeRates | No | ||
| currentCashBalance | No | ||
| currentCashBalances | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |