Microsoft has released a Python update to its Agent Framework that lets developers define approval policies as callable functions when an AI agent discovers tools through MCP. MCP, the Model Context Protocol, is a standard that connects AI agents to outside tools. Microsoft's GitHub release notes list the change under additions.
The same addition makes the framework honor approval metadata from Foundry Toolbox, Microsoft's collection of tools for agents. Microsoft says the support includes filters based on tool name and on whether a tool is read-only. Callers can also override the policy explicitly, and the policy refreshes for tools the agent keeps.
The new policy support sits in two packages: the core package and the one for Foundry hosting. The release also lists changes across a long run of other packages. These include connectors and integrations for A2A, Anthropic, Azure AI Search, Azure Cosmos, Bedrock, Copilot Studio, DuckDB and Foundry Local.
Source: Release python-1.25.0 · microsoft/agent-framework · GitHub.