mode

public final Optional<ToolChoiceType> mode()

The mode of the tool choice.

Throws

if the JSON field has an unexpected type (e.g. if the server responded with an unexpected value).