You can now run the action "giveTargetItem" as a handler. It works almost exactly like "givePlayerItem", but will give the target of the action the item, instead (this only works if the target has an inventory, and the handler has a target — like hitEntity or hitPlayer)