enableWidget

public final Tool.GoogleMaps.Builder enableWidget(Boolean enableWidget)

Whether to return a widget context token in the tool call result of the response.


public final Tool.GoogleMaps.Builder enableWidget(JsonField<Boolean> enableWidget)

Sets Builder.enableWidget to an arbitrary JSON value.

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