Patrick O'Bryant, right, was the ninth pick in the 2006 draft but hasn't played up to expectations. ((Brian Babineau/NBAE via Getty Images))

The Toronto Raptors made a deal for some depth at centre prior to Thursday's NBA trade deadline, getting little-used Patrick O'Bryant from the Boston Celtics in a three-way swap.

The Raptors sent guard Will Solomon to the Sacramento Kings, who also received cash from the Celtics. Boston acquired a conditional second-round pick in 2014 from Sacramento.

O'Byrant, 22, was selected ninth overall in the 2006 NBA draft by Golden State, and the seven-footer has since averaged 1.6 points, 1.3 rebounds and 4.9 minutes in 66 games over three season with the Warriors and Boston.

This season he has already played in a career high 26 games for the defending NBA champion Celtics, averaging 1.5 points, 1.3 rebounds and 4.2 minutes.

The Raptors signed Solomon as a free agent July 28. He appeared in 39 games with Toronto, averaging 4.9 points and 3.2 assists.

Toronto president and general manager Bryan Colangelo may have felt the need to add a centre after sending Jermaine O'Neal to Miami last week in a trade that brought small forward Shawn Marion to the Raptors.

With files from the Canadian Press