users_upsertEmployeeTypePermissions

WRITE

Upsert employee type permissions.

Parameters

employeeTypeIdstringrequired
permissionsobjectrequired

Call it

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

call_tool
call_tool({
  "name": "users_upsertEmployeeTypePermissions",
  "arguments": {
    "employeeTypeId": "string",
    "permissions": {}
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "employeeTypeId": {
      "type": "string"
    },
    "permissions": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "permission": {
          "type": "array",
          "items": {}
        }
      },
      "required": [
        "name",
        "permission"
      ]
    }
  },
  "required": [
    "employeeTypeId",
    "permissions"
  ]
}