code: def parameters_dict(self):
          
          d = {}
          for k, v in self.__dict__.items():
              if not k.startswith("_"):
                  d[k] = v
          return d
docs: Get the tool parameters as a simple dictionary
  
          :return: The tool parameters