The UK had previously insisted the subject was not on the agenda at the leaders' summit in Samoa.
A document signed by 56 heads of government, including UK Prime Minister Sir Keir Starmer, acknowledges calls for "discussions on reparatory justice" for the "abhorrent" transatlantic slave trade.