A metal-organic framework is activated to capture carbon dioxide at high temperatures