{"version":"2.1.178","anchor":"foundry-deployment-capability-detection","canonical_anchor":"foundry-deployment-capability-detection","heading":"Foundry Deployment Capability Detection","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.178\/e\/foundry-deployment-capability-detection","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.178","markdown":"### Foundry Deployment Capability Detection\n\n**What**\n\nWhen running against an Azure AI Foundry deployment, Claude Code now detects unsupported capabilities at runtime and degrades gracefully instead of failing.\n\n**Details**\n\n- Detects when Foundry returns a 400 error indicating features are unavailable (tool search, structured outputs, web search)\n- Capabilities detected from Foundry error messages: `tool_search_server`, `tool_search`, `structured_outputs`, `web_search`\n- On subsequent requests, the unsupported capabilities are stripped from the request (e.g. `defer_loading` and `strict` fields removed from tool definitions)\n- Web search unavailability is reported as: \"Web search is not available on this Foundry deployment.\"\n- Tool search unavailability shows: \"Tool search disabled: Foundry deployment for '\u2026'\"\n\n**Evidence**\n\nFoundry capability detection (search for `\"[foundry-capabilities] deployment\"`, `\"retry:foundry-capability-strip:\"`, `\"fail:foundry-purpose-request\"`, `\"not supported in your workspace\"`)"}