defer_loading
A parameter in the OpenAI Agents SDK. When set to True, a tool is completely invisible to the model and enters the context only after being retrieved by the Tool Search Tool, thereby reducing token consumption.
Timeline (last 90 days)
Anthropic provides a defer_loading marker and tool_addition and tool_removal blocks for dynamic changes to the tool set, to dynamically enable or withdraw tools without changing the prefix.
When the defer_loading parameter is set to True, the tool is completely invisible to the model, and it only enters the model context when the Tool Search Tool finds it.
All Facts (2)
Anthropic provides a defer_loading marker and tool_addition and tool_removal blocks for dynamic changes to the tool set, to dynamically enable or withdraw tools without changing the prefix.
50%UnverifiedWhen the defer_loading parameter is set to True, the tool is completely invisible to the model, and it only enters the model context when the Tool Search Tool finds it.
50%