Added ensure_dir() method
Modified tool parameters & docs