Anthropic added the ability to define tools in the system message midway through a conversation to Claude API
Anthropic has made it possible in the beta version of Claude API (header inline-tools-2026-09-15) to define and modify tools directly in the system message midway through a conversation, without having to edit the tools array or invalidate the prompt cache.
Companies running agents on Claude API can reduce the costs and latency associated with prompt cache invalidation when updating tools, particularly in production deployments with long contexts or connections to MCP servers.