The city attorney shall be appointed by the city council. The duties of the city attorney include, but are not limited to, the following:
(a) Act as the legal counselor and advisor of the council, commissions and other city officials, and as such shall give his opinion in writing when requested by council or city manager.
(b) Draft all deeds, contracts, conveyances, ordinances, resolutions, and other legal instruments when required by the council or city manager.
(c) Approve as to form, in writing, all drafts of contracts and all official or other bonds before final approval or acceptance thereof by the council.
(d) Approve as to form, in writing, all ordinances and resolutions submitted to him for consideration by the council.
(e) Prosecute, defend and/or oversee all suits, actions or causes where the city is a party, and shall report to the council, when required, the condition of any suit or action to which the city is a party.
(f) Serve as the city prosecutor for all Code violations and state law offenses which may be filed in the magistrate court.
(g) Complete all duties as may be defined in any personal services contract approved by the city council.