Dear Student,
When an inert gas is added to the system in equilibrium at constant pressure, then the total volume will increase. Hence, the number of moles per unit volume of various reactants and products will decrease. Hence, the equilibrium will shift towards the direction in which there is an increase in the number of moles of gases.
And the temperature cannot remain constant as it is proportional to volume.
Regards.