Unit Price
unit_priceWhich package is actually cheaper per unit. Compares two package options by price per unit and quantifies the savings — the supermarket-shelf math, done honestly.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "unit_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qtyA | No | Option A quantity Any unit — grams, sheets, count — as long as both options use the same one. | |
| qtyB | No | Option B quantity | |
| priceA | No | Option A price | |
| priceB | No | Option B price |