pack-size
Pack sizes, MOQ, order increments, overbuy cap and price breakpoints: what to actually order — Finds the cheapest valid order quantity for a requested number of units across up to 50 supplier options, for an agent buying parts or consumables sold in packs. Each option has a pack size (units per pack or notation such as "6x100", "case of 12", "12/case", "case of 6 inners"), an optional minimum order quantity, an order increment and price breakpoints; the order is rounded up to a multiple of
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": {
"requested": "<requested>",
"options": "<options>"
},
"name": "pack-size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | Yes | ||
| requested | Yes | Units needed. | |
| overbuyCapPercent | No | Reject orders exceeding the request by more than this percent. |