Claude Code Adds Code Mode, an Experimental Way for Claude to Call Its Tools With JavaScript

Claude CodeView original changelog

Claude Code 2.1.323 adds Code Mode, an experimental opt-in in which Claude writes JavaScript to call its tools instead of issuing them one at a time. Anthropic points to its Code Mode docs page for turning it on, and organizations can also turn it off.

Key Takeaways

  • Claude Code now has Code Mode, where Claude writes JavaScript to call its tools instead of calling them one at a time.
  • It is experimental and opt-in, so nothing changes for users who do not enable it.
  • Organizations get a switch to turn Code Mode off, as described in the Claude Code docs.
  • The change shipped in Claude Code 2.1.323 on November 12, 2026.
  • Anthropic's notes give no detail on permissions for the generated code, so cautious teams may wait for docs.
  • Because it is labeled experimental, behavior may change in later releases.

What Code Mode is

Claude Code 2.1.323 introduced Code Mode, an experimental feature that users must opt in to. When it is on, Claude writes JavaScript to call its tools, rather than making individual tool calls one after another. Anthropic's release notes describe it in a single line and point readers to the Code Mode page in the Claude Code docs for setup.

Turning it on or off

Code Mode is off until a user opts in. The release notes also say the same documentation explains how an organization can turn Code Mode off, which gives administrators a way to keep the experiment away from their teams. Because the feature is labeled experimental, its behavior may change in later releases.

What is not yet known

The release notes give no further detail on how the generated JavaScript is run, which tools it can reach, or how permissions apply to it. Readers who want to try it should follow the docs link in the release notes and check back as the feature matures.