NativeDeferredToolsModel#
Implement the model contract and normalize usage and stream output. See the guide.
- class zett_agent.model.NativeDeferredToolsModel(*args, **kwargs)[source]#
An
AgentModelthat says whether its endpoint can load a deferred tool by reference.The attribute is optional: an adapter that does not declare it is treated as
False, soretryandstreamare all a minimal adapter needs. Declare it only to answerTrue.Truemeans the protocol keeps a deferred definition out of the model’s context but still accepts a search result that names it (Anthropicdefer_loadingplustool_reference). The adapter then receives every deferred definition inModelRequest.toolsand marks it deferred itself.Falsemeans the model learns a deferred definition only from a search result (the Responsestool_search_output), or not at all, soToolSearchExtensionwithholds those definitions from the request.