def METHOD_NAME(
        self,
        tool_input: Union[str, Dict],
        **kwargs: Any
) -> Any:
    """Run the tool."""
    parsed_input = self._parse_input(tool_input)
    try:
        tool_args, tool_kwargs = self._to_args_and_kwargs(parsed_input)
        observation = (
            self._execute(*tool_args, **tool_kwargs)
        )
    except (Exception, KeyboardInterrupt) as e:
        raise e
    return observation