Context has the information. You may simply add “return context;” in the cloud script function to see what are contained there. By default, event-triggered execution will have the event payload in the context, which has instance ID if it is “Player inventory item added” event. However, checking the remaining uses will still need to get the full inventory in the cloud script function.
3 People are following this question.