def to_provider_tools_format(self, tools_schema: ToolsSchema) -> List[ChatCompletionToolParam]:
        """Converts function schemas to OpenAI's function-calling format.

        :return: OpenAI formatted function call definition.
        """
        functions_schema = tools_schema.standard_tools
        return [
            ChatCompletionToolParam(type="function", function=func.to_default_dict())
            for func in functions_schema
        ]
Converts function schemas to OpenAI's function-calling format.

        :return: OpenAI formatted function call definition.
        
src/pipecat/adapters/services/open_ai_adapter.py