# Needing clarity for the readied action [duplicate]

My group is currently in a combat situation, and one of my PCs used the ready action to say, "I ready an attack if there is any hostile action towards me."

Now from a previous post I read, it said it's ultimately up to DM discretion, and I am of the mind that the two examples given for ready action are rather specific, giving a specific trigger for a specific reaction, but I am hearing differing opinions from across the board. I have heard that one should be able to be as broad as to say that you can ready an attack without having to specify how you are attacking, but I am not sure.

I would like to know from the forum here, what your opinions are, as I wish to iron out this feature with my PCs.