Use self.tool not @tool in initialize.