Unit price comparison
unit_price_calculatorCompare price per unit of two packs and report which is cheaper. Runs on smart-tools.xyz.
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_a": "<price_a>",
"quantity_a": "<quantity_a>",
"price_b": "<price_b>",
"quantity_b": "<quantity_b>"
},
"name": "unit_price_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Language for the source_url link (default en) | |
| price_a | Yes | Price of pack A | |
| price_b | Yes | Price of pack B | |
| quantity_a | Yes | Quantity in pack A | |
| quantity_b | Yes | Quantity in pack B |