Using the output of a tool as an input to another tool