Beating AI News Flash: Today, DeepSeek updated its official API documentation, officially unveiling the Deferred Tool Loading mechanism.
Previously, when an Agent integrated hundreds of MCP tools, stuffing all tool usage instructions into the context from the start would waste a large amount of tokens. But if the client loaded them on demand, modifying the tool list could invalidate the existing context cache and increase inference costs.
The DeepSeek API allows clients to retrieve tools on demand and then append the definitions of newly added tools to the end of the conversation. This reduces the context occupied by irrelevant tools while preserving the existing cache prefix.
Anthropic and OpenAI have both previously supported similar mechanisms. DeepSeek currently offers this capability only in the Anthropic Messages and OpenAI Responses interfaces of the deepseek-flash model.
In fact, as early as September this year, related implementations had already appeared in the DeepSeek Harness code, and in October developers had already verified it in testing. This update formally writes the capability into the public API documentation to make it easier for third-party developers to integrate.
