A .NET agent that calls a C# function, with Microsoft Agent Framework
Nine-step procedure: a gpt-5-mini model on Microsoft Foundry, an agent written with Microsoft Agent Framework, a C# function the model calls on its own to read the stock, then delete the resources.