Share via


ToolChoiceCustom interface

Use this option to force the model to call a specific custom tool.

Extends

Properties

name

The name of the custom tool to call.

type

For custom tool calling, the type is always custom.

Property Details

name

The name of the custom tool to call.

name: string

Property Value

string

type

For custom tool calling, the type is always custom.

type: "custom"

Property Value

"custom"