Profit / Loss Calculator
calculator_profit_lossProfit or loss amount and percentage from cost and selling 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_price": "<cost_price>",
"selling_price": "<selling_price>"
},
"name": "calculator_profit_loss"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost_price | Yes | Cost price. | |
| selling_price | Yes | Selling price. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | ||
| status | Yes | ||
| expression | Yes |