enableWidget

public final Optional<Boolean> enableWidget()

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

Throws

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