resources_upsertMaintenanceSchedule

WRITE

Upsert maintenance schedule.

Parameters

namestringrequired
workCenterIdstringrequired
locationIdstringrequired
frequencystringrequired
prioritystringrequired
activestringrequired
tuesdaystringrequired
wednesdaystringrequired
thursdaystringrequired
fridaystringrequired
saturdaystringrequired
sundaystringrequired
idstringoptional
descriptionstringoptional
estimatedDurationnumberoptional

Call it

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

call_tool
call_tool({
  "name": "resources_upsertMaintenanceSchedule",
  "arguments": {
    "name": "string",
    "workCenterId": "string",
    "locationId": "string",
    "frequency": "string",
    "priority": "string",
    "active": "string",
    "tuesday": "string",
    "wednesday": "string",
    "thursday": "string",
    "friday": "string",
    "saturday": "string",
    "sunday": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "workCenterId": {
      "type": "string"
    },
    "locationId": {
      "type": "string"
    },
    "frequency": {
      "type": "string"
    },
    "priority": {
      "type": "string"
    },
    "estimatedDuration": {
      "type": "number"
    },
    "active": {
      "type": "string"
    },
    "tuesday": {
      "type": "string"
    },
    "wednesday": {
      "type": "string"
    },
    "thursday": {
      "type": "string"
    },
    "friday": {
      "type": "string"
    },
    "saturday": {
      "type": "string"
    },
    "sunday": {
      "type": "string"
    }
  },
  "required": [
    "name",
    "workCenterId",
    "locationId",
    "frequency",
    "priority",
    "active",
    "tuesday",
    "wednesday",
    "thursday",
    "friday",
    "saturday",
    "sunday"
  ]
}