Anthropic Introduces Code Mode for Claude Code: JavaScript-Based Tool Call Chaining
Anthropic has released Code Mode as an experimental feature in Claude Code v2.1.323, enabling Claude to write JavaScript that chains multiple tool calls in a single step rather than sequentially. This capability reduces round-trips for multi-step development tasks by allowing par
Anthropic has released Code Mode as an experimental feature in Claude Code v2.1.323, enabling Claude to write JavaScript that chains multiple tool calls in a single step rather than sequentially. This capability reduces round-trips for multi-step development tasks by allowing parallel execution of related Bash, Read, and Edit operations. The feature is available for Claude Opus 5.5, Sonnet 5.5, Haiku 5.5, and Fable 5.2 models through the Anthropic API or Claude subscription. Code Mode requires explicit opt-in via environment variable and is currently limited to interactive terminal sessions, with background code running up to 2 hours and waiting code timing out after 10 minutes. The feature is not available through third-party cloud providers like Bedrock or Google Cloud, and auto-mode review applies to the entire code block rather than individual tool calls.