Dragon Tail is an offensive Dragon-type move. It has a low priority, but forces the opponent to switch Pokémon (if possible). If used in a battle with wild Pokémon, the battle ends.
Dragon Tail will not force a switch if the opponent has a Substitute, is under the effects of Ingrain, or has the ability Suction Cups. It also fails to end a battle with a wild Pokémon if the user is a lower level than the target.