The answer is endothermic.
Endothermic reactions are reactions that need energy to form a product.
Exothermic reactions are reactions that release energy.
Photosynthesis is a process in which energy of sunlight is used to convert carbon dioxide and water into glucose and oxygen. Hence, the energy of sunlight is needed for photosynthesis. So, photosynthesis is endothermic.