OGL 利润计算器 / OGL profit calculator
calculate_ogl_profitCalculate the OGL (Ozon Global Logistics) land-cost profit breakdown for one product: shipping, commission, FX-converted fees, profit and margin. Server owns all formulas and rates; present the returned breakdown without recomputing. ready=false with a 422 means inputs exceed supported limits and the payload still contains warnings and partial data.
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": "<price>",
"weightG": "<weightG>",
"cost": "<cost>"
},
"name": "calculate_ogl_profit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | Product cost in CNY, may be 0. | |
| price | Yes | Selling price in RUB, must be > 0. | |
| adRate | No | Advertising rate as a 0..1 fraction. | |
| weightG | Yes | Product weight in grams, must be > 0. | |
| otherFee | No | Other fixed fee in RUB, defaults to 0 when omitted. | |
| starRatio | No | Star premium rate as a 0..1 fraction. | |
| returnRate | No | Return allowance rate as a 0..1 fraction. | |
| commissionRate | No | Override commission rate as a 0..1 fraction; omit to use the configured default. |