'Generate a redirect to a Biostar site using tag for tool.'

@web.expose
def biostar_tool_tag_redirect(self, trans, tool_id=None):

    if (tool_id is None):
        return error('No    tool_id    provided')
    (tool_version_select_field, tools, tool) = self.app.toolbox.get_tool_components(tool_id, tool_version=None, get_loaded_tools_by_lineage=False, set_selected=True)
    if (not tool):
        return error(("No    tool    found    matching    '%s'" % tool_id))
    payload = biostar.populate_tag_payload(tool=tool)
    return self.biostar_redirect(trans, payload=payload, biostar_action='show_tags')
