items_upsertUnitOfMeasure

WRITE

Upsert unit of measure.

Parameters

codestringrequired
namestringrequired
idstringoptional

Call it

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

call_tool
call_tool({
  "name": "items_upsertUnitOfMeasure",
  "arguments": {
    "code": "string",
    "name": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "code": {
      "type": "string"
    },
    "name": {
      "type": "string"
    }
  },
  "required": [
    "code",
    "name"
  ]
}