Share via


AgentsNamedToolChoiceOutput interface

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

Properties

function

The name of the function to call

type

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

Possible values: "function", "code_interpreter", "file_search", "bing_grounding", "fabric_dataagent", "sharepoint_grounding", "azure_ai_search"

Property Details

function

The name of the function to call

function?: FunctionNameOutput

Property Value

type

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

Possible values: "function", "code_interpreter", "file_search", "bing_grounding", "fabric_dataagent", "sharepoint_grounding", "azure_ai_search"

type: string

Property Value

string