Mexican President Enrique Pena Nieto said Wednesday he is working on "a new relationship" with the US and thanked Latin American neighbors for support as Mexico faces "big challenges" with its vital trading partner.
His comments were made at a one-day summit in Costa Rica's capital San Jose that gathered leaders from Mexico, Central America and Colombia.
US President Donald Trump, who took office in late January, has vowed to renegotiate the North American Free Trade Agreement (NAFTA) between the United States, Mexico and Canada.
Trump has also stepped up anti-immigration policies affecting Latin Americans, and is moving forward with a commitment to build a wall along the US-Mexico border.
Pena Nieto thanked his counterparts for "the displays of solidarity and trust they have shown Mexico in these recent months as Mexico faces very big challenges in building a new relationship with the United States government."
But relations are at their lowest point in years.
Mexico sends 80 percent of its exports to the United States, with which it has a $60 billion trade surplus.
Trump has asserted that NAFTA is costing US manufacturing jobs and he is promoting protectionist policies, including consideration of a border adjustment tax on imports.
Mexico is said to be weighing cuts in the $2.3 billion in corn it imports from the United States if NAFTA negotiations go sour.
Pena Nieto told the summit: "We are sure that we are going to be able to reach an understanding that will be positive for both our nations."
He said he would keep the countries represented at the summit informed of aspects of its talks with the US that would affect them.
Colombian President Juan Manuel Santos expressed concern at Trump's announcement on Tuesday that the US would scrap rules designed to curb America's global-warming emissions.
The United Nations has said Colombia is at high risk from climate change.
"Here we have a new world more dangerous, of greater risk," he said.
Santos also said that "I believe the best wall that can be built is that of progress in Central America and Mesoamerica."
The summit, begun in the Mexican town of Tuxtla 26 years ago, is a regular event taking place every couple of years. It is aimed at bolstering cooperation on regional infrastructure, energy, health and environmental issues.
But this year the main topic weaving through speeches and discussions was US policies under Trump.
Belize's foreign minister, Wilfred Elrington, highlighted a perceived "ominous shift" in North America and parts of Europe toward more protectionist stances.
The host, Costa Rican President Luis Guillermo Solis, said the region faced several problems that needed joint action, including migration flows, human rights, organized crime and climate change.
In a joint closing statement, the leaders agreed to redouble integration efforts in the face of "profound transformations in the international context," and challenges over globalization.
They also expressed "preoccupation over increased actions discriminating against migrant persons" and rejected the "criminalization of migrants."
Agreement was also voiced on fighting drug trafficking and organized crime, and the need to respect measures to fight climate change.