Check tags in a Macro

Hello

How can I, inside a macro, check which tags were used in the execution of the pipeline?

Thank you!

I think you should have what you need in the invocation_args_dict: https://docs.getdbt.com/reference/dbt-jinja-functions/flags#invocation_args_dict

Note: @joellabes (dbt Labs) originally posted this reply in Slack. It might not have transferred perfectly.

Thank you for your answer
But I didn’t found any flag on the documentation that will bring information about TAGS