1. Exercise any powers and perform any duties charged to the City Attorney by the Charter or this Code; 2. Advise any Councilmember or the Mayor when requested, upon all legal questions arising in the conduct of the city business; 3. Prepare or revise ordinances when so requested by the City Council or Mayor; 4. Give official opinions upon any legal matter or question submitted by a majority vote of the City Council; 5. Shall at the discretion of the Mayor and Council attend Council meetings for the purpose of giving the Mayor and Council any legal advice requested by its members; 6. Prepare for execution all contracts and instruments to which the city is a party when so requested and approve, as to form, all bonds and city contracts; 7. Prepare, when authorized by the City Council, charges and complaints against, and appear in the municipal court in the prosecution of persons charged with a violation of this Code or of any regulations and see to the full enforcement of all civil judgments or decrees rendered or entered in favor of the city; 8. Defend any and all suits and actions at law or equity brought against the city, unless otherwise directed by the City Council; 9. Prepare and file any civil suit or action at law or equity to secure or protect the city's best interest when so ordered by a resolution of the City Council; 10. Make immediate report to the City Council of the outcome of any litigation in which the city has a direct interest; 11. Keep complete and accurate records of the following, which records shall remain the property of the city: a. All suits in which the city had or has an interest, giving the names of the parties, the nature of the action, the disposition of the case or its status, if pending, and the briefs of counsel; and b. All written opinions prepared by the City Attorney and all certificates or abstracts of titles furnished by the City Attorney to the city, or any department or official thereof; and 12. Render any other legal services that may be required by the City Council.