def to_dict(self) -> dict[str, Any]:
        """
        Converts the ToolCallData instance into a dictionary.

        Returns:
            dict[str, Any]: A dictionary representing the ToolCallData instance.
        """
        return {
            "function_name": self.function_name,
            "arguments": self.arguments,
            "tool_call_id": self.tool_call_id,
        }

        Converts the ToolCallData instance into a dictionary.

        Returns:
            dict[str, Any]: A dictionary representing the ToolCallData instance.
        
ai/integrations/litellm/src/unitycatalog/ai/litellm/utils.py