Implementing programmatic tool calling on Amazon Bedrock
TL;DR
In this post, we show three ways to implement Programmatic tool calling (PTC) on Amazon Bedrock: a self-hosted Docker sandbox on ECS for maximum control, a managed solution using Amazon Bedrock AgentCore Code Interpreter, and an Anthropic SDK-compatible path through a proxy for teams that prefer that developer experience.
Nauti's Take
Promising for builder teams: AWS lays out three clear paths for Programmatic Tool Calling on Bedrock — from a self-hosted Docker sandbox on ECS to the managed AgentCore Code Interpreter. A real opportunity to make tool use more deterministic and safer.
The catch: each variant has its own cost and complexity tradeoffs, and the Anthropic-SDK-proxy path adds an extra dependency. Teams should pick based on workload, compliance and budget.