News · Anthropic · 2 min read
Event date: · Published:
Claude Code 2.1.331 extends Code Mode to Bedrock, Google Cloud and Foundry
Anthropic shipped Claude Code 2.1.331, bringing Code Mode's sandboxed tool-calling to Amazon Bedrock, Google Cloud's Agent Platform and Microsoft Foundry, plus new OIDC gateway auth and OpenTelemetry fields.
Anthropic released Claude Code 2.1.331 on November 23, 2026, extending Code Mode's sandboxed terminal tool-calling to Amazon Bedrock, Google Cloud's Agent Platform and Microsoft Foundry. The release, detailed in the Claude Code v2.1.331 release notes, also adds OIDC group-based gateway authentication and new OpenTelemetry trace fields, and lists 18 improvements and 95 bug fixes overall.
What changed in this release
- Code Mode now works in terminal sessions on Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry, and Claude Platform on AWS
- The Claude apps gateway adds
oidc.groups_jsonpath, reading groups through a subset of JSONPath (RFC 9535) - The
claude doctordiagnostic command gains an API connectivity section - A new
CLAUDE_CODE_DISABLE_RESPONSE_COMPRESSIONenvironment variable helps proxies that mishandle compressed responses - Trace spans for
claude_code.llm_requestnow includegen_ai.usage.*,gen_ai.response.modelandgen_ai.operation.namefields - The VS Code integration adds a
Fix with Claude Codequick fix, anAdd Cell to Chataction and aResolve Merge Conflictsmenu entry
What it means for people who build with AI
The expansion grounds Code Mode's sandboxed tool-calling in enterprise cloud deployments across AWS, GCP and Azure, so teams can call tools the same way no matter which cloud hosts their models. The added OIDC group-based authentication and the new OpenTelemetry fields give platform teams a way to control access and monitor usage, cost and latency as more people run Claude Code at scale.
Availability and next steps
Anthropic also flagged a change coming to plugin distribution: on or after November 30, 2026, managed plugin marketplaces will auto-update by default unless teams opt out. The full list of changes is in the Claude Code changelog.
Sources
- Claude Code v2.1.331 (Anthropic (GitHub), November 23, 2026, official)
- Claude Code changelog (Anthropic, November 23, 2026, official)
Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.