Magnet Pull
Prevents Steel opponents from fleeing or switching out.
Full effect
While this Pokémon is in battle, opposing Steel-type Pokémon cannot flee or switch out. Pokémon with Run Away can still flee. Pokémon can still switch out with the use of a move or item. Overworld: If the lead Pokémon has this ability, Steel-type Pokémon have a higher encounter rate.
In game description
Prevents Steel-type Pokémon from fleeing by pulling them in with magnetism.
Pokemon with Magnet Pull
Using Magnet Pull in Cobblemon
Abilities are passive and always active, so Magnet Pull costs you nothing to run. If it is marked hidden on a species above, expect it to be harder to obtain: servers differ in whether hidden abilities come from breeding, an Ability Patch, or events.
See the Pokedex for which abilities each species can have, and IVs, EVs and breeding for how to actually pass one down.