Montevideo, Uruguay -- Uruguay's president indicated Thursday he's open to taking some former terror suspects still held at Guantanamo, but the U.S. ambassador in the country cautioned that no agreement has been reached.

"If the inmates of Guantanamo want to make their nests in Uruguay, they can do it," President Jose Mujica told Channel 10's "Subrayado" program while at a farm fair in rural Uruguay. But he said he told his negotiators that he "would not be their jailer."

Uruguay's weekly Busqueda magazine reported earlier in the day that Mujica had agreed to accept five of the prisoners at President Obama's request, and that . Secretary of State John Kerry personally called Mujica to thank him on Monday.

The magazine said the deal includes a requirement that the former detainees remain inside Uruguay's borders for at least two years.

The U.S. has resettled 43 Guantanamo detainees in 17 countries since Obama took office, and released 38 others to their homelands. Last week, the State Department office working to close the prison said to expect significant progress with the remaining 154.