Various mechanical contrivances have parts that attach by internal threads.
The LAW folding stock adapter is a great example, but I've even seen this design on other things, including motorcycle carburetors.
The LAW adapter has a sort of reverse castle nut that screws into the receiver shock tower, but still allows the extension on the bolt carrier to pass rearward.
The reverse castle nut takes a tool that fits into slots on the nut and you can then tighten it. The tool is simplicity itself: about 2mm thick, exactly as wide as the nut I'm describing, and with wings at the top
you can apply pressure to in order to tighten it.
What the hell is that tool called? Maybe it doesn't have a name.
I was helping a friend put together a carburetor and he had a smaller version. He called it a carburetor tool (because he didn't know the name it either).
Help a brother out here.......