Place Minecraft item in a specific inventory slot via command

Ro
2

I used to build maps a lot and there was a command with which you could put any item into a very precise inventory slot. Unfortunately, I forgot it… But please for 1.12.2

Can anyone tell me what the command was called?

gl

/ replaceitem…

Qu

This is the / replaceitem