{"name":"margin","title":"Margin / Markup / Price Calculator","category":"finance","description":"Solve selling price, profit, margin% and markup% from cost and one known value.","price_usd":0.001,"input_schema":{"type":"object","properties":{"cost":{"type":"number","description":"Unit cost in USD"},"price":{"type":"number","description":"Selling price in USD (provide this OR margin_pct OR markup_pct)"},"margin_pct":{"type":"number","description":"Target net margin percent"},"markup_pct":{"type":"number","description":"Target markup percent on cost"}},"additionalProperties":false,"required":["cost"]}}