tool Choice
The tool choice configuration.
Sets Builder.toolChoice to an arbitrary JSON value.
You should usually call Builder.toolChoice with a well-typed ToolChoice value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
Alias for calling toolChoice with ToolChoice.ofType(type).
Alias for calling toolChoice with ToolChoice.ofConfig(config).