Cantrip Combatant, Variant (5e Feat)
From D&D Wiki
Cantrip Combatant, Variant
Prerequisites: Intelligence, Wisdom, or Charisma 13 or higher; the ability to cast at least one cantrip
You have learned how to combine your martial and magical abilities into one.
When you take the attack action, you can cast a cantrip in place of a single weapon attack. You can only replace one attack in this way for each attack action.