purchasing_shortClosePurchaseOrderLine

WRITE

Short close purchase order line.

Parameters

lineIdstringrequired
purchaseOrderIdstringrequired
intentenumrequired

Call it

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

call_tool
call_tool({
  "name": "purchasing_shortClosePurchaseOrderLine",
  "arguments": {
    "lineId": "string",
    "purchaseOrderId": "string",
    "intent": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "lineId": {
      "type": "string"
    },
    "purchaseOrderId": {
      "type": "string"
    },
    "intent": {
      "type": "string",
      "enum": [
        "close",
        "reopen"
      ]
    }
  },
  "required": [
    "lineId",
    "purchaseOrderId",
    "intent"
  ]
}