Hi,
You have the information of the product_id being added in $_POST. Then, you can just load the product data from the hikashop_product table if you need some data from the product.
The information of what happened can't be known in this trigger.
However, you can use the onBeforeCartSave trigger to store what you have in the cart before in the database and compare it to what you have after.
But if you check the $_POST, you can directly check on the ctrl and task values in it.
If($_POST['ctrl'] == 'product' && $_POST['task'] == 'updatecart') {
// the code in here will only run when a product is being added to the cart
}
The cart modifications, deletions, etc will have different values in these variables