The end effector can have a surgical tool, such as a grasper.
The object is grasped by the grasper, and the object and the device are removed from the body cavity.