Logic

It focuses on valid reasoning, arguments, inferences, and formal thought structures. It is philosophy's "tool" for avoiding fallacies.