The grappling hook, aka "kaginawa" was one of six primary tools carried by the shinobi. The Shoninki, written in 1681 adduces this.