The South American nation says it is considering withdrawing from the landmark agreement, which aims to limit carbon emissions and slow global warming.