def to_dict(self) -> Dict[str, Any]:
        """
        Converts the AnthropicTool instance into a dictionary for the Anthropic API.
        """
        return {
            "name": self.name,
            "description": self.description,
            "input_schema": self.input_schema,
        }

        Converts the AnthropicTool instance into a dictionary for the Anthropic API.
        
ai/integrations/anthropic/src/unitycatalog/ai/anthropic/toolkit.py