The functions of the office of the City Attorney shall be to:
A. Advise the Council and all City officers in all matters of law pertaining to their offices and relating to City affairs;
B. Furnish legal service at all meetings of the Council, except when excused or disabled, and give advice or opinions on the legality of all matters under consideration by the Council or by any of the boards and commissions or officers of the City;
C. Prepare, or cause to be prepared, and/or approve all ordinances, resolutions, agreements, contracts, opinions and other legal instruments as shall be required for the proper conduct of the business of the City and approve the form of all contracts and agreements and bonds given to the City;
D. Appear and defend the City in all matters of civil litigation involving the City and its officers and employees, except those involving insurance coverage or Workers' Compensation, or as otherwise provided by contract or direction of the City Council; and prosecute all violations of City ordinances or delegate such authority to the District Attorney;
E. Perform such other legal duties as may be required by the Council or as may be necessary to complete the performance of the foregoing functions.