#"For a reaction at equilibrium that is subject to an external"#
#"perturbation, the equilibrium will move in a direction so as to "#
#"oppose the external perturbation."#
The important qualifier in the above spray is that #"oppose "!=" counteract"#, and we speak of an initial change, an initial movement of the equilibrium in the face of change. Especially with temperature changes, the equilibrium MAY evolve to give other conditions of operation.
And (finally!!) to answer your question. We have the endothermic reaction at equilibrium:
Clearly, the #Delta# symbol represents energy in. If the temperature is raised at equilibrium, the initial response is to try to oppose the perturbation, and the equilibrium does this by going towards the right as written, i.e. by producing greater concentrations of #C# and #D# utilizing the added energy.
I am sorry to be so long-winded, but there are a lot of assumptions and qualifications to be made in this treatment.