The city attorney shall:
- Attend meetings of the governing body when so directed to attend by the governing body;
- Advise the governing body and all officers of the city upon such legal questions affecting the city and its offices as may be submitted to him or her;
- When requested by the governing body give opinions in writing upon any such questions;
- Draft such ordinances, contracts, leases, easements, conveyances and other instruments in writing as may be submitted to him or her in the regular transaction of affairs of the city;
- Approve all ordinances of the city as to form and legality;
- Attend planning commission and board of zoning appeals meetings when so directed by the boards;
- Appear and prosecute all violations of city ordinances in municipal court when his or her services shall be required.
- Perform such other duties as may be prescribed by the governing body and the Kansas statutes.