currency_margin_calc
Margin, markup, breakeven and target price with FX rate, fees, shipping and tax
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": {
"cost": "<cost>",
"price": "<price>"
},
"name": "currency_margin_calc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | Unit cost | |
| price | Yes | Selling price | |
| fee_pct | No | Marketplace/payment fee percent | |
| fx_rate | No | FX multiplier cost currency to price currency (default 1) | |
| tax_pct | No | Tax percent included in price | |
| fixed_fee | No | Fixed fee per order | |
| cost_currency | No | Cost currency code | |
| shipping_cost | No | Shipping cost in price currency | |
| price_currency | No | Price currency code | |
| target_margin_pct | No | Desired margin percent for suggested price |