Forum Discussion
ArneVG
Apr 23, 2026Copper Contributor
Failed to add tool to agent - Preview Feature Required?
Hi, We’ve recently run into an issue where we’re no longer able to add tools to our Foundry agent. This was previously working without problems in our development environment, but now every attempt ...
Jamony
Jun 27, 2026MCT
This usually means the portal, SDK, or REST call is trying to use an agent capability that is still behind a preview feature flag. The error is not saying your tool is necessarily invalid; it is saying the API path you are using expects the preview feature to be enabled or called with the correct preview version and headers.
I would first update the Azure AI Foundry SDK or extension you are using and confirm the project is in a region where that agent tool feature is available. If you are calling REST directly, use the documented preview API version and preview feature header for that capability. If it still fails from the portal but works through API, it may simply be a portal rollout mismatch.