The Law Director acts as the legal advisor and attorney for the city and for all officers, boards, and commissions of the city. The Law Director represents the city or its officers in their official capacities in any action or proceedings in any court of law and shall perform such other duties as may be required by the Mayor or City Council.