Package version:

Interface AgentsNamedToolChoice

Specifies a tool the model should use. Use to force the model to call a specific tool.

interface AgentsNamedToolChoice {
    function?: FunctionName;
    type: AgentsNamedToolChoiceType;
}

Properties

Properties

function?: FunctionName

The name of the function to call

the type of tool. If type is function, the function name must be set.