For tools you can specify if there is a maximum number of invocations allowed. This sample shows a tool that can only be invoked once. print(f"Number of tool calls ...
This sample demonstrates integration of Azure OpenAI Responses Client with local Model Context Protocol (MCP) servers. # --- Below code uses Microsoft Learn MCP server over Streamable HTTP --- # --- ...