3.3.0
BoxLang AI Module 3.3.0 — Bedrock tool-use support for Claude models, MCP CORS fix, and housekeeping.
Released: May 2026
BoxLang AI 3.3.0 brings AWS Bedrock's Claude models up to feature parity with the direct Anthropic API by adding native tool/function calling support, alongside an MCP CORS fix and general housekeeping.
✨ New Features
🪨 BedrockService Tool-Use Support for Claude Models
AWS Bedrock's Claude models now support native tool/function calling, matching the feature set of the direct Anthropic API. (#190)
formatToolsForClaude()converts OpenAI-compatible tool schemas to the Claude-nativeinput_schemaformat.executeBedrockTool()processes Claudetool_useblocks, invokes the registered tool, and appendstool_resultmessages back into the conversation.Multi-turn tool conversations are preserved by correctly handling structured content (arrays of
tool_use/tool_resultblocks) without flattening them viatoString().
agent = aiAgent(
name : "BedrockToolAgent",
model : aiModel( "bedrock", { params: { model: "anthropic.claude-3-5-sonnet-20241022-v2:0" } } ),
tools : [ weatherTool, calcTool ]
)
response = agent.run( "What's 15% of the temperature in Miami?" )🪲 Fixed
MCPRequestProcessor CORS parameter collision: Renamed the
mcpServerparameter inhandleCORSPreflight()totargetServerto avoid a case-insensitive name collision with theMCPServerimport, which caused the stricter BoxLang compiler to reject the file and 500 every MCP request.
🧠 Updated
Removed obsolete scheduler test stubs (
DataProcessingScheduler.bx,ReportingScheduler.bx).Added Spreadsheet Loader integration documentation to the README.
📖 Documentation
Working with Models — Provider configuration, including Bedrock
Last updated