Right-hander Cody Poteet agreed Friday to a one-year contract with the New York Yankees, who are seeking to replenish their staff after sending four pitchers to San Diego in the trade to acquire slugger Juan Soto.

Poteet, 29, had Tommy John surgery with Texas Rangers physician Keith Meister on Aug. 17, 2022, while with Miami, then refused an outright assignment after the season and elected to become a free agent.