code: def _validate_tools(self, tool):
          
  
          tools = []
          if not tool:
              if len(self.project['common']['tools_supported']) == 0:
                  logger.info("No tool defined.")
                  return -1
              tools = self.project['common']['tools_supported']
          else:
              tools = [tool]
          return tools
docs: Use tool_supported or tool