calc_group_buy_profit
團購、網紅直購定價利潤試算:扣除平台抽成(蝦皮等)、金流費、運費、分潤、營業稅,回傳每件淨利、毛利率、保本價與目標毛利售價。
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>",
"cost": "<cost>"
},
"name": "calc_group_buy_profit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qty | No | ||
| tax | No | ||
| cost | Yes | ||
| ship | No | 每單運費 | |
| price | Yes | ||
| target | No | 目標毛利率 % | |
| platform | No | ||
| commission | No | 分潤 % |