Ammo restore/reducing

Is there any API for ammo in workshop? I want to realize ammo stealing, but can’t fill-up or freeze or reduce the clip. Also current number of bullets is not changeable as I see.