Checked fact 538720 Nov 2026Agents and apps
Anthropic says Code Mode doesn't work with -p, the Agent SDK, the VS Code panel, the Desktop app or cloud sessions, and can't be used through a gateway, Amazon Bedrock, Claude Platform on AWS, Google Cloud's Agent Platform, Microsoft Foundry, or Claude Models on Google Cloud (Anthropic managed).
The exact words it rests on
Code Mode doesn't work with `-p`, the Agent SDK, the VS Code panel, the Desktop app, or cloud sessions
What the source said when we opened it, on 19 Nov 2026.
The source
Run tool calls from code with Code Mode
Checked
Checked by the notis newsroom on , against the source above.
In the story
Claude Code adds opt-in Code Mode, where Claude writes JavaScript to call tools 20 Nov 2026
Cite this fact
Anyone may quote this address. It does not change; if we correct the story, this page says so.