The tagswebapi provides methods for pulling tags associated with a logged in user or the Visitor object.
The following example shows how the tagswebapi is mapped in the toolbox-xml file:
<tool>
<key>tags</key>
<scope>request</scope>
<class>com.dotcms.rendering.velocity.viewtools.TagsWebAPI</class>
</tool>