shared_lookupPriceFromBreaks

WRITE

Lookup price from breaks.

Parameters

priceBreaksany[]required
requestedQtynumberrequired
fallbackPricenumberrequired

Call it

Invoke it through the call_tool meta-tool with its arguments:

call_tool
call_tool({
  "name": "shared_lookupPriceFromBreaks",
  "arguments": {
    "priceBreaks": [],
    "requestedQty": 0,
    "fallbackPrice": 0
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "priceBreaks": {
      "type": "array",
      "items": {}
    },
    "requestedQty": {
      "type": "number"
    },
    "fallbackPrice": {
      "type": "number"
    }
  },
  "required": [
    "priceBreaks",
    "requestedQty",
    "fallbackPrice"
  ]
}