Photo: Garrett Ellwood/NBAE via Getty Images

The Memphis Grizzlies have agreed to trade Juancho Hernangomez to the Boston Celtics for Kris Dunn and Carsen Edwards, according to Adrian Wojnarowski.

The Celtics will also send a 2026 second-round pick swap to the Grizzlies.

The deal can’t officially be completed until Sept. 15, when Dunn’s contract aggregation gets lifted, Wojnarowski notes.

By making this two-for-one trade, the Celtics clear a roster spot, as they were carrying 16 players with 15 players on fully guaranteed deals.

Now, they will be able to keep Jabari Parker on the roster and keep the 16th spot open to start the season.

Dunn only played four games with the Atlanta Hawks last season and was traded to the Celtics on Aug. 7.

The 27-year-old never played for the Celtics.

Hernangomez, 25, who spent last season with the Minnesota Timberwolves and was dealt to the Grizzlies on Aug. 17, will give the Celtics a floor-spacing option in the frontcourt.

Similar to Dunn, Hernangomez never suited up for the Grizzlies.

Hernangomez averaged 7.2 points and 3.9 rebounds per game last season, while shooting 43.5 percent from the field.

Edwards, meanwhile, hasn’t yet carved out a significant role in the NBA.

The 23-year-old has averaged 9.2 minutes per game in his two seasons.

Given the moves that the Grizzlies have made recently, it’s unclear if Dunn and Edwards will stay on the team’s roster.