Read: Code Mode vs Tool Calling for AI AgentsAI-AgentsMCPcode-modeCode Mode vs Tool Calling for AI AgentsCloudflare Code Mode: the agent writes TypeScript against tools in a sandbox. ~1,000 tokens vs ~1M if every MCP endpoint is a native tool.Nov 21, 2025·11 min readRead