Tuning Benjamin Caydan Mystery part

I was using a single shot tray and had a pellet go into where the cocking mechanism is. I took Picatinny rail off to get pellet out. I shook pellet out, but this part came out as well. All of the studs that go to rail are there. What is this part? The gun seems to work, the schematic I found is not of very high quality.
IMG_20211108_113253647.1636393784.jpg