Rescuing the prophet from the muddy depths of the pit requires careful preparation and the use of improvised materials to ensure his safety. To begin the operation, Ebed-melech gathers a group of men to assist him. The primary approach among commentators is that these men simply accompany him under his direct authority and command. However, [רד״ק] suggests a more literal reality, noting that Ebed-melech has to physically pull each man by the hand because they initially refuse to join him due to their own weakness and exhaustion.
Leading the crew, Ebed-melech guides them to a storage room located beneath the king's treasury, a spot known for holding old, discarded garments [מצודת דוד]. Here, he gathers an assortment of rags [ביאור שטיינזלץ]. These materials are completely worn, decaying, and rotting [מצודת ציון]. They consist of torn fabrics that either drag on the floor or are so ruined they are only fit to be dragged outside and thrown away [רש״י, מצודת דוד, מלבי״ם]. Other garments in the pile are utterly destroyed from overuse [מצודת דוד, רד״ק], reduced to a state of ruin comparable to dissipating smoke or a dry, barren wasteland [מצודת ציון, מלבי״ם, רד״ק].
With these essential supplies in hand, the rescue operation proceeds. Rather than simply tossing the bundle of rags down to the prophet, Ebed-melech carefully lowers the garments using ropes. This deliberate method is born out of cautious concern, ensuring that the rags do not fall and sink into the thick mud at the bottom of the pit [מצודת דוד].