{"version":1,"type":"story","url":"https://digestai.news/story/claude-code-adds-code-mode-for-batch-tool-calls","json":"https://digestai.news/story/claude-code-adds-code-mode-for-batch-tool-calls.json","markdown":"https://digestai.news/story/claude-code-adds-code-mode-for-batch-tool-calls.md","slug":"claude-code-adds-code-mode-for-batch-tool-calls","headline":"Claude Code adds Code Mode for batch tool calls","summary":"On November 12, 2026, Claude Code introduced a new feature called **Code Mode**. Instead of directly calling tools like Bash or file reading one by one, Claude now writes JavaScript code to perform these tool calls and executes them in batches. This change aims to automate repetitive tasks more efficiently. The official documentation provides examples such as editing multiple files at once, narrowing down search results before reading them, or handling independent instructions simultaneously. While Code Mode is suitable for multi-stage automation, it may not offer significant benefits for single tasks. The feature is currently experimental and has usage restrictions, including requiring a specific version of Claude Code, supported models, and certain account conditions. Despite these limitations, the design ensures that permission rules remain intact to maintain safety and security.","keyPoints":["Claude Code added **Code Mode** on November 12, 2026","Allows writing JavaScript code for batch tool calls in terminal sessions","Suitable for multi-stage automation but not suitable for single tasks"],"whyItMatters":"This feature can help automate repetitive tasks more efficiently by consolidating parallelizable confirmations and filtering results within a single piece of code, aligning with the goal of reducing waste.","category":{"slug":"marketing","name":"Marketing & Small Business","url":"https://digestai.news/category/marketing"},"entities":{"companies":["Anthropic","Claude"],"models":["Claude Opus 5.5","Sonnet 5.5","Haiku 5.5","Fable 5.2"],"people":[]},"firstPublishedAt":"2026-11-15T20:17:00Z","updatedAt":"2026-11-15T20:17:00Z","sourceCount":1,"hasPrimarySource":false,"sources":[{"outlet":"note.com","title":"[Latest AI Explanation] Code Mode in Claude Code","url":"https://note.com/automate_works/n/nea935fc232f5?hl=en","publishedAt":"2026-11-15T20:17:00Z","type":"press","primary":false,"lead":true}],"sourceNotes":null,"discussions":[],"thread":{"title":"Claude Code's Code Mode Evolution","url":"https://digestai.news/thread/anthropic-adds-code-mode-to-claude-code-for-javascript-tool-chains","storyCount":2},"cite":{"text":"Digest AI, \"Claude Code adds Code Mode for batch tool calls\", 15 November 2026, https://digestai.news/story/claude-code-adds-code-mode-for-batch-tool-calls","publisher":"Digest AI","title":"Claude Code adds Code Mode for batch tool calls","datePublished":"2026-11-15T20:17:00Z","url":"https://digestai.news/story/claude-code-adds-code-mode-for-batch-tool-calls"},"generatedBy":"Written by Digest AI's editorial model from the linked sources; the sources are the record.","license":"Headlines, digests and key points are written by Digest AI and may be quoted with a link to the story page. Linked articles belong to their publishers. Terms: https://digestai.news/terms#reuse"}