The results showed that the nanoparticle loaded gel system induced macrophages to phagocytize cancer cells by blocking the CD47-SIRPα interaction. Here, SIRPA is linked to cancer.