mode

The mode of the tool choice.


public final AllowedTools.Builder mode(JsonField<ToolChoiceType> mode)

Sets Builder.mode to an arbitrary JSON value.

You should usually call Builder.mode with a well-typed ToolChoiceType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.