MR.Haneefa(Indian) in Souq Madina, Industrial Area.
Normally AC do not function properly because of 1) condencer of A/C is full of dust and do not transfer heat from it. Blow air to clean it. 2) Leakage from system and loss of refregent from system 3) Compressor is having mechanical wear and tear 4) Ambient temperature is too high and vehicle is at stand still position at signal 4) gap in window sealing and hot air is entering in car. 5) A/C Compressor belts are loose or not having proper tension.
Take your car to any A/C mechanic. Let him check the suction and discharge of compressor pressure. If require, top up the refregerent and check the grill temperature with digital thermometer.
It should work. If nothing works, mechanic will advise you for any part replacement. Toyota parts are not much expensive.
Enjoy. A/C is not big problem.