def to_default_dict(self) -> Dict[str, Any]:
        """Converts the function schema to a dictionary.

        Returns:
            Dictionary representation of the function schema.
        """
        return {
            "name": self._name,
            "description": self._description,
            "parameters": {
                "type": "object",
                "properties": self._properties,
                "required": self._required,
            },
        }
Converts the function schema to a dictionary.

        Returns:
            Dictionary representation of the function schema.
        
src/pipecat/adapters/schemas/function_schema.py