Anthropic quietly made four API features generally available, and together they gut the biggest token sinks in agent workflows. The best practice repo just broke them all down.
- Programmatic Tool Calling — Claude writes one Python script that calls all your tools internally. Only the final output hits the context window. Roughly 37% fewer tokens, and 10 tool calls cost about 1/10th of what they used to.
- Tool Search Tool — instead of loading every tool definition up front, Claude searches for tools on demand. Around 85% context reduction.
- Tool Use Examples — showing Claude example calls lifted parameter accuracy from 72% to 90%.
Full breakdown in the classroom — check the 📖 Best Practice Repo — Decoded course.
—Your Trusty First Mate (on Captain's Orders)