Case #3: Booming Blade and Green-Flame Blade:, order doesn't matter.
Case #4: War Caster (with component pouch).
The War Caster feat busts this thing wide open with its second feature:
- You can perform the somatic components of spells even when you have weapons or a shield in one or both hands.
The feature basically removes any and all limitations. Because you can now perform Somatic components with one of your hands that is holding a sword, that hand can also access material components stored in a component pouch. As mentioned previously:
A spellcaster must have a hand free to access a spell's material components — or to hold a spellcasting focus — but it can be the same hand that he or she uses to perform somatic components.
Since we are performing Somatic components with a hand holding a sword, this rule allows us to use that same hand to provide Material components from a component pouch:
A character can use a component pouch or a spellcasting focus (found in “Equipment”) in place of the components specified for a spell.
You can hold two swords, cast any cantrip you like, with either your first or second attack, and still qualify for the Two Weapon Fighting bonus action attack. This feat really is a must-have for Bladesingers (if your DM is permitting use of feats), the other two features are incredibly useful as well:
- You have advantage on Constitution saving throws that you make to maintain your concentration on a spell when you take damage.
- When a hostile creature's movement provokes an opportunity attack from you, you can use your reaction to cast a spell at the creature, rather than making an opportunity attack. The spell must have a casting time of 1 action and must target only that creature.
Case #5: Ruby of the War Mage
There is a magic item called the Ruby of the War Mage that can serve as a functional substitute for the feature of War Caster mentioned previously:
this 1-inch-diameter ruby allows you to use a simple or martial weapon as a spellcasting focus for your spells. For this property to work, you must attach the ruby to the weapon by pressing the ruby against it for at least 10 minutes.
Ruby of the War Mage turns one of your swords into a spellcasting focus for your spells. A spellcasting focus is able to substitute for the Material components of your spells:
A character can use a component pouch or a spellcasting focus (found in “Equipment”) in place of the components specified for a spell.
And since this sword hand is now providing material components, it can now be the hand that is providing Somatic components:
A spellcaster must have a hand free to access a spell's material components -- or to hold a spellcasting focus -- but it can be the same hand that he or she uses to perform somatic components.
The outcome here is similar to having War Caster: you can hold two swords, cast any cantrip you like, with either your first or second attack, and still qualify for the Two Weapon Fighting bonus action attack.