I was looking though the spell lists and noticed that (as far as I could tell) there are no ranged variants to improving ranged attacks, as the "blade cantrips" do for melee attacks (e.g. booming blade, green-flame blade).
What I am talking about are the spells that state:
As part of the action used to cast this spell, you must make a melee attack with a weapon
Are there any ranged variants of this? Spell of any level would be acceptable.
I am not looking for identical language, just spells that enhance a "normal" ranged weapon attack.
Best Answer
There are are several!
While the booming blade and green-flame blade cantrips are the most obvious spell-assisted melee weapon attack options, that type of enhancement isn't limited to melee attacks. The spells listed below revolve around ranged-only. There are some other spells that apply to both, but I've focused this on the ones that require ranged.
The following are some examples, but others exist if you look at the spell descriptions in the various source books.
Cantrips
Magic Stone (EEPC, 160) is the most obvious option here:
Levelled Spells
If you utilize your spell slots, you've got some other options. The Ranger spell list contains a lot of examples:
Lightning Arrow (PHB, 255):
Flame Arrows (EEPC, 156):