PHB p192: Actions In Combat: Attack:- With this action, you can make ONE melee or ranged attack. See the "Making an Attack" section for the rules which govern attacks. Certain features, such as the Extra Attack feature of the fighter, allow you to make more than one attack with this action.
PHB p193: Making an Attack:- I won't type the whole section here-you can check it yourself-but there are separate sub-sections for ranged attacks and melee attacks. It also allows attacks to be weapon attacks or spell attacks. This results in a grid with melee/ranged down the side and weapon/spell across the top, leaving four possibilities:-
- melee weapon attack
- melee spell attack
- ranged weapon attack
- ranged spell attack
It also makes clear that an unarmed strike-despite not being a weapon-uses 'melee weapon attack' out of those four choices.
It also mentions that claws, horns, teeth, tentacles, or other body part use the 'melee weapon attack' category out of those four, despite none of them being actual weapons.
Although the Attack Action allows you to make ANY of the four types of attack, you still require the MEANS to execute that attack! For a weapon attack, this is usually not difficult because you can pick up just about any object and attack with it even if that object is not an actual weapon, using the Improvised Weapon rules. Or you can choose a body part (or just Unarmed Strike).
Although rare, you can indeed use the Attack Action to make ranged spell attacks without using the Cast a Spell Action; the Sun Soul Monk's Radiant Sun Bolt being one of them. If you have this and Extra Attack, you can replace either or both with grapple/shove or anything that can replace an attack. Even melee spell attacks are useable with the Attack Action (without needing the Cast a Spell action) IF you have the means! The specter (MM p279) has Life Drain as a melee spell attack, and it takes the Attack Action, not the Cast a Spell Action, to do so.
THESE ARE THE "GENERAL" RULES FOR ATTACK ACTIONS AND THE ATTACKS MADE USING THAT ACTION!!!
Haste (PHB p250):- "...it gains an additional action on each of its turns.
That action can be used only to to take the Attack (one weapon attack only), Dash, Disengage, Hide, or Use an Object
Action."
This part of the spell modifies the
general rules regarding Attack Actions and the attacks allowed by taking this action. In this sense, the
haste spell is the 'specific' which overrides
that particular general rule.
It does this in two ways:-
1) it only allows ONE attack, just like the Attack Action itself. However, where the Attack Action
can grant
more than one attack IF you have something that allows you to (Extra Attack feature, Thirsting Blade invocation),
those features do NOT allow you to take more than one attack when using the Attack Action granted by this spell!
2) that attack can only be a weapon attack (melee or ranged), NOT a spell attack (melee or ranged). So Sun Soul Monks and Specters are S out of L.
Now to
specific rules:-
* You can use the Attack Action to Grapple (or Shove)(PHB p195), even though neither is an Attack (no Attack Roll). If you are able to take multiple attacks with the Attack Action, this attack replaces ONE of them
This means that, as long as you are doing this as part of an Attack Action, you can freely substitute melee weapon attacks, melee spell attacks, ranged weapon attacks, and ranged spell attacks, with Grapples and/or Shoves.
Note that although 'specific beats general', there is no rule that says 'specific beats specific'! There doesn't (usually) need to be, because by definition 'specific' rules are limited to certain circumstances.
Here's the crux: while the specific rule of the
haste spell beats the general rule of the Attack Action, AND the specific rule of Grapple/Shove beats the general rule of the Attack Action....
....the specific rule of the
haste spell DOES
NOT beat the
other specific rule of Grapple/Shove!
Therefore, you can indeed swap
haste's "one weapon attack only" with a Grapple or a Shove.
We know it
must work that way, because if it didn't work that way-that Grapple/Shove
can substitute for the ONE (or maybe more) attacks allowed by taking the Attack Action-then we could
never Grapple or Shove at all!
The extra Attack Action granted by
haste limits the number of attacks (one, not more, even if you have a feature that would allow more attacks during your Attack Action), and it limits the type of attack (melee weapon attacks and ranged weapon attacks, but not melee spell attacks or ranged spell attacks). It can do this because the types of attacks and the Attack Action are
general rules while the
haste spell is a specific rule that creates an exception, but
only in the ways it says it does! You cannot add extra things that the spell doesn't say, and it says nothing about disallowing any other
specific rule, like Grapple or Shove....
....or the Bladesinger's subclass feature which allows you to "...cast one of your cantrips in place of one (of the attacks granted by taking the Attack Action)".
This feature allows the Bladesinger to replace ONE attack with a cantrip
every single time he takes the Attack Action.
Even the extra Attack Action granted by
haste, even the Attack Action granted by Action Surge.
On one turn a Ftr 2/Bladesinger 6 could, while
hasted, take three Attack Actions on his turn (normal,
haste, Action Surge) and replace one attack in
each of those three Attack Actions with a cantrip.