# What is Claude Code Code Mode? Many tool calls in one step

> Code Mode is an experimental Claude Code feature added in version 2.1.323 that lets Claude write JavaScript to make several tool calls in a single step.

Source: https://sketchry.app/blog/claude-code-code-mode/

AI tools · 2026-11-12 · Source [code.claude.com](https://code.claude.com/docs/en/code-mode)

Code Mode is an experimental Claude Code feature added in version 2.1.323 that lets Claude write JavaScript to make several tool calls in a single step.

Anthropic added Code Mode in Claude Code 2.1.323, released on November 12, 2026. Normally Claude asks for one tool call at a time, such as Bash, Read or Edit, and reads each result before deciding what to do next. With Code Mode turned on, Claude writes a piece of JavaScript that makes the tool calls, and Claude Code runs that code in your session. One piece of code can run commands in parallel, feed one result into the next call, and return only the part of the output Claude needs to read.

The official documentation suggests trying it on tasks that take many related tool calls: a change that repeats across many files, a search whose results need filtering before Claude reads them, or several independent commands that can run at the same time. In the conversation you still see the tool calls, such as an edit's diff, and you can press Ctrl+O to open the transcript viewer and read the code itself.

Code Mode is off by default and may change or be removed in any release. It needs Claude Code 2.1.323 or later, a Claude subscription or Console account, and one of Claude Opus 5.5, Sonnet 5.5, Haiku 5.5 or Fable 5.2. It only works in an interactive claude session in a terminal, not with the -p flag, the Agent SDK, the VS Code panel, the Desktop app or cloud sessions.

The documentation also lists limits: code that cannot run in the background stops after ten minutes, a Code Mode session can only be resumed in the terminal with Code Mode on, and Remote Control, Claude in Chrome and computer use are unavailable. If you use Skills to have Claude Code build websites or videos, it is worth trying on a small change first before leaving it on.

Last updated: 2026-11-17
