A surgical instrument includes a catheter, a distal segment, a needle, and a tracking sensor. The catheter is configured to be inserted into an anatomical passageway of a patient and includes a catheter lumen. The distal segment includes a port that communicates with the catheter lumen. The needle is slidably disposed within the catheter lumen and is translatable relative to the catheter between a retracted position and an extended position. A needle distal end is configured to extend through the port when the needle is in the extended position. The tracking sensor is coupled to the needle and is configured to generate a signal corresponding to a location of the needle distal end within the patient.