What's wrong with this entry?
When running against an Azure AI Foundry deployment, Claude Code now detects unsupported capabilities at runtime and degrades gracefully instead of failing.
- Detects when Foundry returns a 400 error indicating features are unavailable (tool search, structured outputs, web search)
- Capabilities detected from Foundry error messages:
tool_search_server,tool_search,structured_outputs,web_search - On subsequent requests, the unsupported capabilities are stripped from the request (e.g.
defer_loadingandstrictfields removed from tool definitions) - Web search unavailability is reported as: "Web search is not available on this Foundry deployment."
- Tool search unavailability shows: "Tool search disabled: Foundry deployment for '…'"
Foundry capability detection (search for "[foundry-capabilities] deployment", "retry:foundry-capability-strip:", "fail:foundry-purpose-request", "not supported in your workspace")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.