Mode

Represents the mode in which a tool can be invoked by the model.

Modes:

  • none: The model will not invoke any tool and will generate a message instead.

  • auto: The model chooses between generating a message or invoking one or more tools.

  • required: The model must invoke one or more tools.

Properties

Link copied to clipboard

The string representation of the mode. Must be one of: "none", "auto", "required".