tme_quote
Prices a list of part lines exactly as TME would sell them, applying MOQ rounding and price tiers, optionally optimizing price breaks, and flagging availability or ordering issues.
Instructions
Price a list of {"symbol", "qty", "ref"?} lines exactly as TME would sell them.
Rounds to MOQ/multiples, picks the price tier, and (optimize_price_breaks) moves to a higher tier when that costs no more than max_extra_cost_per_line extra. Flags: UNKNOWN_SYMBOL, NOT_IN_OFFER, CANNOT_BE_ORDERED, STOCK_SHORT_n, ROUNDED_UP_FROM_n, PRICE_BREAK_a_TO_b, HARDLY_AVAILABLE, ... Totals are in the API's currency and price type.
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": {
"lines": "<lines>"
},
"name": "tme_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | ||
| optimize_price_breaks | No | ||
| max_extra_cost_per_line | No |