def alias_tool(self, context_name, tool_name, tool_alias):
data = self._context(context_name)<EOL>aliases = data["<STR_LIT>"]<EOL>if tool_name in aliases:<EOL><INDENT>raise SuiteError("<STR_LIT>"<EOL>% (tool_name, context_name, aliases[tool_name]))<EOL><DEDENT>self._validate_tool(context_name, tool_name)<EOL>aliases[tool_name] = tool_alias<EOL>self._flush_tools()<EOL>
Register an alias for a specific tool.

        Note that a tool alias takes precedence over a context prefix/suffix.

        Args:
            context_name (str): Context containing the tool.
            tool_name (str): Name of tool to alias.
            tool_alias (str): Alias to give the tool.