How to create automatic action plugin using tags?

Can someone help how to set getActionRequiredParameters and getEventRequiredParameters with tags?

I would like to use tags as categories can be used for automatic actions.