Expansion of the bile duct Extraction of stones of the bile duct Placing a stent in the bile duct Diagnosis of some diseases of the bile ducts and liver Tissue sampling (tumors or infections)