Was the city defended?
If there are troops inside the city, you should be given a list of possible actions for your diplomat/spy to do, I.E poison water supply.
If the city is not defended, I'm pretty sure you get a message saying something along the lines of "None military units may not capture a city, do this, do that, blah blah".