I have an assistant and I added a function to it via the OpenAI website (ttps://platform.openai.com/assistants).
In my C# code, I fetch the client and its tools like this:
_openAIClient = new(credentials, clientOptions);
_openAIThread = await _openAIClient.CreateThreadAsync();
_openAIAssistant = await _openAIClient.GetAssistantAsync(_config["OpenAI:AssistantId"]!);
var tools = _openAIAssistant.Tools;
The variable tools contains the FunctionDefinition of the function I created on the website. How on earth can I now use it to call a method in C#?