items_upsertMaterialType

WRITE

Upsert material type.

Parameters

materialSubstanceIdstringrequired
materialFormIdstringrequired
namestringrequired
codestringrequired
idstringoptional

Call it

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

call_tool
call_tool({
  "name": "items_upsertMaterialType",
  "arguments": {
    "materialSubstanceId": "string",
    "materialFormId": "string",
    "name": "string",
    "code": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

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