sales_applyPriceRules

WRITE

Apply price rules.

Parameters

startingPricenumberrequired
matchedRulesany[]required

Call it

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

call_tool
call_tool({
  "name": "sales_applyPriceRules",
  "arguments": {
    "startingPrice": 0,
    "matchedRules": []
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "startingPrice": {
      "type": "number"
    },
    "matchedRules": {
      "type": "array",
      "items": {}
    }
  },
  "required": [
    "startingPrice",
    "matchedRules"
  ]
}