The 19-year-old forward will officially complete a switch to the Reds on July 1.
Carvalho played a key role in Fulham’s promotion back to the Premier League in 2021-22, scoring 10 goals and providing eight assists in 36 games as Marco Silva’s side won the Championship title.
He had featured for the Cottagers in the top flight on four occasions in the previous season, marking his first Premier League start with a goal away at Southampton in May 2021.
An exciting talent born in the Lisbon region of Portugal, Carvalho made his debut for Portugal U21s in March of this year having previously represented England at youth level.