shared_resolveBuyUnitCost

WRITE

Resolve buy unit cost.

Parameters

materialobjectrequired
requestedQtynumberrequired
priceMapanyrequired

Call it

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

call_tool
call_tool({
  "name": "shared_resolveBuyUnitCost",
  "arguments": {
    "material": {},
    "requestedQty": 0,
    "priceMap": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "material": {
      "type": "object",
      "properties": {
        "itemId": {
          "type": "string"
        },
        "unitCost": {
          "type": "number"
        },
        "unitCostSource": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "itemId",
        "unitCost"
      ]
    },
    "requestedQty": {
      "type": "number"
    },
    "priceMap": {}
  },
  "required": [
    "material",
    "requestedQty",
    "priceMap"
  ]
}