One of the following:
"none" | "auto" | "required"
"none"
"auto"
"required"
AssistantToolChoice { type, function }

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

type: "function" | "code_interpreter" | "file_search"

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

One of the following:
"function"
"code_interpreter"
"file_search"
function?: AssistantToolChoiceFunction { name }