def METHOD_NAME(self, action: str, data: Any):
    """Triggers one of the tools' actions and provides additional parameters to the action.
    The additional data is passed as a parameter to the function call of the
    action.
    :param action: The action to trigger.
    :param data: The additional data to call
    """
    if not self._active_tool:
        return
    if not hasattr(self._active_tool, action):
        Logger.log("w", "Trying to call non-existing action {action} of tool {tool}.".format(action = action, tool = self._active_tool.getPluginId()))
        return
    if hasattr(self._active_tool, action):
        getattr(self._active_tool, action)(data)