Question: who did tim allen play in toy story
Answer: Taking place in a world where anthropomorphic toys pretend to be lifeless whenever humans are present , the film 's plot focuses on the relationship between Woody , an old - fashioned pullstring cowboy doll ( voiced by Tom Hanks ) , and Buzz Lightyear , an astronaut action figure ( voiced by Tim Allen ) , as they evolve from rivals competing for the affections of Andy , their owner , to friends who work together to be reunited with Andy as his family prepares to move to a new home .