/tag: Adds, removes or lists text tags on entities, which you can use in selectors like @e[tag=boss].
Syntax
<angle brackets> are required, [square brackets] optional. /tag has 2 forms:
/tag <entity: wildcardselection> <action: tagchangeaction> <name: tagvalues>
/tag <entity: wildcardselection> <action: taglistaction>