production_insertJob

WRITE

Create a new job with all business logic - generates sequence, resolves location, copies method from item, recalculates requirements. LLM can create a job with just itemId and quantity..

Parameters

inputobjectrequired
optionsobjectoptional

Call it

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

call_tool
call_tool({
  "name": "production_insertJob",
  "arguments": {
    "input": {}
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "itemId": {
          "type": "string"
        },
        "quantity": {
          "type": "number"
        },
        "jobId": {
          "type": "string"
        },
        "locationId": {
          "type": "string"
        },
        "dueDate": {
          "type": "string"
        },
        "startDate": {
          "type": "string"
        },
        "priority": {
          "type": "number"
        },
        "status": {
          "type": "string"
        },
        "deadlineType": {
          "type": "string"
        },
        "storageUnitId": {
          "type": "string"
        },
        "unitOfMeasureCode": {
          "type": "string"
        },
        "customerId": {
          "type": "string"
        },
        "salesOrderId": {
          "type": "string"
        },
        "salesOrderLineId": {
          "type": "string"
        },
        "quoteId": {
          "type": "string"
        },
        "quoteLineId": {
          "type": "string"
        },
        "parentJobId": {
          "type": "string"
        },
        "modelUploadId": {
          "type": "string"
        },
        "notes": {
          "type": "string"
        },
        "customFields": {},
        "configuration": {}
      },
      "required": [
        "itemId",
        "quantity"
      ]
    },
    "options": {
      "type": "object",
      "properties": {
        "skipMethod": {
          "type": "boolean"
        },
        "skipRecalculate": {
          "type": "boolean"
        },
        "methodSource": {
          "type": "string",
          "enum": [
            "item",
            "quoteLine"
          ]
        }
      }
    }
  },
  "required": [
    "input"
  ]
}