production_upsertJobMethod

WRITE

Upsert job method.

Parameters

typeenumrequired
jobMethodobjectrequired

Call it

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

call_tool
call_tool({
  "name": "production_upsertJobMethod",
  "arguments": {
    "type": "string",
    "jobMethod": {}
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "itemToJob",
        "quoteLineToJob"
      ]
    },
    "jobMethod": {
      "type": "object",
      "properties": {
        "sourceId": {
          "type": "string"
        },
        "targetId": {
          "type": "string"
        },
        "configuration": {},
        "parts": {
          "type": "object",
          "properties": {
            "billOfMaterial": {
              "type": "boolean"
            },
            "billOfProcess": {
              "type": "boolean"
            },
            "parameters": {
              "type": "boolean"
            },
            "tools": {
              "type": "boolean"
            },
            "steps": {
              "type": "boolean"
            },
            "workInstructions": {
              "type": "boolean"
            }
          },
          "required": [
            "billOfMaterial",
            "billOfProcess",
            "parameters",
            "tools",
            "steps",
            "workInstructions"
          ]
        }
      },
      "required": [
        "sourceId",
        "targetId"
      ]
    }
  },
  "required": [
    "type",
    "jobMethod"
  ]
}