Description
Summary
When using Microsoft Agent Framework (Python) AzureAIClient to create an agent in Azure AI Foundry, I can pass function tools via tools=... (executed client-side). However, I can’t attach/register the Foundry-managed Azure AI Search tool that is created as a “Connected resource” in Foundry (and should appear as a tool in the Foundry UI). This makes it impossible to create a Foundry agent with the Azure AI Search connected tool using only Agent Framework APIs.
Expected behavior
AzureAIClient.create_agent(...) should support attaching Foundry-managed tools / connected resources so that:
- the tool is registered on the agent in Foundry,
- it appears in the Foundry UI as a tool/connected resource,
- the tool is executed by the Foundry service (not by the local client app),
- it uses the Foundry project “Connected resources” connection (no Search admin key required in client code).
Code Sample
Error Messages / Stack Traces
Package Versions
python-1.0.0b251223
Python Version
3.13
Additional Context
No response