Hello,
What you are describing here is ideally K Wire insertion.
K wire is used when there is displacement of bones especially finger bones or even sometimes in fractures of long bones like femur. The procedure is done with local anesthetic itself most of times. Though if the displacement is to a great extent then they prefer for a general anesthetic. Firstly they try to realign the displaced bone in its correct position by application of traction. After realigning the bones, the doctor makes sure the finger has achieved stability in that position.
Further the K wire is inserted through the periosteum of displaced bone with the neighboring bone in such a manner that they are stable and aligned. Sometimes it is CT guided, to know if it's aligned properly.
Thank you.