Identification of Contact Conditions for Robots Using Tools