How does the weapon attack as a bonus action mentioned in the Eldritch Knight's War Magic feature work?
As an example, if I have a longsword in my main hand and cast a cantrip (or higher-level spell, with Improved War Magic), can the attack I take as part of War Magic be the longsword in my main hand even though attacking with it would normally require using the Attack action?
The same scenario as the above example, except I have a short/longbow. Can I fire the bow as my weapon attack from War Magic?
The same scenario as the above example, except using either the versatile feature of the longsword to then swing it with two hands or using a greatsword. Can I swing a two-handed weapon or the longsword as a two-handed weapon as the weapon attack from War Magic?
I'm interested in answers approaching this from either a RAW or RAI (rules intent) perspective.