shared_lookupBuyPriceFromMap

WRITE

Lookup buy price from map.

Parameters

itemIdstringrequired
requestedQtynumberrequired
priceMapanyrequired
fallbackCostnumberrequired

Call it

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

call_tool
call_tool({
  "name": "shared_lookupBuyPriceFromMap",
  "arguments": {
    "itemId": "string",
    "requestedQty": 0,
    "priceMap": "string",
    "fallbackCost": 0
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "itemId": {
      "type": "string"
    },
    "requestedQty": {
      "type": "number"
    },
    "priceMap": {},
    "fallbackCost": {
      "type": "number"
    }
  },
  "required": [
    "itemId",
    "requestedQty",
    "priceMap",
    "fallbackCost"
  ]
}