Skip to content

Commit eb43bd0

Browse files
howieleungCopilotglharper
authored
Support multiple open api and mcp for toolset. (#42728)
* Support multiple open api def for toolset. * add toolset to support multiple mcp tools * Update sdk/ai/azure-ai-agents/azure/ai/agents/models/_patch.py Co-authored-by: Copilot <[email protected]> * update changelog * Improve merge resource * add get_tool_resource and get_tool_definitions * Run black and added test * code clean up * fix lint * fix lint * fix lint * update change log * Support multiple open api def for toolset. * add toolset to support multiple mcp tools * Update sdk/ai/azure-ai-agents/azure/ai/agents/models/_patch.py Co-authored-by: Copilot <[email protected]> * update changelog * Improve merge resource * add get_tool_resource and get_tool_definitions * Run black and added test * code clean up * fix lint * fix lint * fix lint * update change log * Support multiple open api def for toolset. * add toolset to support multiple mcp tools * Update sdk/ai/azure-ai-agents/azure/ai/agents/models/_patch.py Co-authored-by: Copilot <[email protected]> * update changelog * Improve merge resource * add get_tool_resource and get_tool_definitions * Run black and added test * code clean up * fix lint * fix lint * fix lint * update change log * Resolve comment * it pushResolved comments * Resolve comments * clean up * Resolved comment * resolved comment * Remove None as default * Resolved comment * Resolved comment --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: Glenn Harper <[email protected]>
1 parent 2e3d453 commit eb43bd0

File tree

7 files changed

+464
-83
lines changed

7 files changed

+464
-83
lines changed

sdk/ai/azure-ai-agents/CHANGELOG.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22

33
# Release History
44

5-
## 1.2.0b4 (Unreleased)
6-
7-
### Breaking Changes
5+
## 1.2.0b4 (2025-09-12)
86

97
### Features Added
108

119
- Added Computer Use Preview tool for use with the computer-use-preview model
12-
- Added static `merge_resources` method to `McpTool` with accompanying sample.
10+
- ToolSet now supports adding multiple McpTool instances and OpenApiTool instances.
11+
- Added static functions `get_tool_resources` and `get_tool_definitions` in `azure.ai.agents.models` to simplify extracting tool resources and definitions from collections of tools, making it easier to configure agents with multiple tool instances.
1312

1413
### Bugs Fixed
1514

@@ -20,8 +19,11 @@
2019

2120
### Sample updates
2221

23-
- Added Computer Use Preview tool sample demonstrating use with the computer-use-preview model
2422
- Added sample demonstrating multiple McpTool instance usage.
23+
- Added `sample_agents_mcp_stream_eventhandler.py` demonstrating how to use MCP tools with streaming and event handlers for real-time processing.
24+
- Added `sample_agents_mcp_stream_iteration.py` showing MCP tool usage with streaming iteration for step-by-step response handling.
25+
- Added `sample_agents_multiple_mcp.py` illustrating how to configure and use multiple MCP tool.
26+
2527

2628
## 1.2.0b3 (2025-08-22)
2729

0 commit comments

Comments
 (0)