{
  "description": "Update a node",
  "input_method": "stdin",
  "parameters": {
    "availability": {
      "description": "Availability of the node",
      "type": "Optional[Enum['active', 'pause', 'drain']]"
    },
    "role": {
      "description": "Role of the node",
      "type": "Optional[Enum['manager', 'worker']]"
    },
    "label_add": {
      "description": "Add or update a node label (key=value)",
      "type": "Optional[Array]"
    },
    "label_rm": {
      "description": "Remove a node label if exists.",
      "type": "Optional[Array]"
    },
    "node": {
      "description": "ID of the node in the swarm",
      "type": "String[1]"
    }
  }
}

