it's called a chain wrench... they're a thing