production_setPeopleDay

DESTRUCTIVE

Set people day.

Parameters

locationIdstringrequired
employeeIdstringrequired
datestringrequired
shiftIdstringnullrequired
/** day-scoped note, written to every surviving row of the day */ notestringnullrequired
/** * Day-scoped overtime, written to every surviving row of the day. The * scheduler reads the MAX across a day's rows (never the sum), so 2h of * overtime stays 2h however many stations the person splits across. */ overtimeHoursnumberrequired
rowsobject[]required

Call it

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

call_tool
call_tool({
  "name": "production_setPeopleDay",
  "arguments": {
    "locationId": "string",
    "employeeId": "string",
    "date": "string",
    "shiftId": "string",
    "/** day-scoped note, written to every surviving row of the day */\n    note": "string",
    "/**\n     * Day-scoped overtime, written to every surviving row of the day. The\n     * scheduler reads the MAX across a day's rows (never the sum), so 2h of\n     * overtime stays 2h however many stations the person splits across.\n     */\n    overtimeHours": 0,
    "rows": []
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "locationId": {
      "type": "string"
    },
    "employeeId": {
      "type": "string"
    },
    "date": {
      "type": "string"
    },
    "shiftId": {
      "type": [
        "string",
        "null"
      ]
    },
    "/** day-scoped note, written to every surviving row of the day */\n    note": {
      "type": [
        "string",
        "null"
      ]
    },
    "/**\n     * Day-scoped overtime, written to every surviving row of the day. The\n     * scheduler reads the MAX across a day's rows (never the sum), so 2h of\n     * overtime stays 2h however many stations the person splits across.\n     */\n    overtimeHours": {
      "type": "number"
    },
    "rows": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "workCenterId": {
            "type": "string"
          },
          "hours": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "workCenterId",
          "hours"
        ]
      }
    }
  },
  "required": [
    "locationId",
    "employeeId",
    "date",
    "shiftId",
    "/** day-scoped note, written to every surviving row of the day */\n    note",
    "/**\n     * Day-scoped overtime, written to every surviving row of the day. The\n     * scheduler reads the MAX across a day's rows (never the sum), so 2h of\n     * overtime stays 2h however many stations the person splits across.\n     */\n    overtimeHours",
    "rows"
  ]
}