how to activate ability with custom parameters?

When I hit a target, I can add some gameplayeeffects to the target to do some damage and vfx, but I want to use ability to trigger the hit animation, because I want to add some tags that block other behaviors or abilities

But I can’t find a method to pass custom parameters and how to replicate the parameters when triggering the ability

since gameplayeffect is pure data and gameplay cue only happen on client
Is there any way to customize logic when attacked target or trigger the ability by passing parameters?