extractWorkingDir Tool