forge_profit_margin
Convert between profit margin and markup, and work out the price a target margin requires. Answers "what is my profit margin?", "what is the difference between margin and markup?" and "what should I charge for a 40% margin?" from cost and price.
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>"
},
"name": "forge_profit_margin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | What the item costs you. | |
| price | No | What you sell it for. Optional if targetMarginPercent is given. | |
| targetMarginPercent | No | The margin you want, as a percentage. Optional. |