Tool Use & Function-Calling Design Patterns

Every dated snapshot of this topic, newest first. Each snapshot is frozen as of its date; links and versions reflect what was true then.

Best Practice 2026-08-09 00:00:00

Tool Use & Function-Calling Design Patterns for AI Agents — Best Practices (as of 09 Aug 2026)

A plain-language guide to how AI agents call tools/functions safely: start with the safety rules that matter no matter which AI vendor you use (sandboxing, least privilege, prompt-injection risk, cost surprises), then a short, brief look at Claude's and OpenAI's specific tool-calling mechanics.