API product unit economics
privi_pro_unit_marginCalculate gross margin for a paid API operation from price and direct cost. PAID ONLY: 5 prepaid credits; production billing required.
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": {
"price_usd": "<price_usd>",
"direct_cost_usd": "<direct_cost_usd>"
},
"name": "privi_pro_unit_margin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price_usd | Yes | ||
| direct_cost_usd | Yes |