ToolUseTokensByModality

public final class ToolUseTokensByModality

The token count for a single response modality.

Types

Link copied to clipboard
public final class Builder
Link copied to clipboard
public final class Modality implements Enum

The modality associated with the token count.

Functions

Link copied to clipboard
public final Map<String, JsonValue> _additionalProperties()
Link copied to clipboard

Returns the raw JSON value of modality.

Link copied to clipboard
public final JsonField<Integer> _tokens()

Returns the raw JSON value of tokens.

Link copied to clipboard

Returns a mutable builder for constructing an instance of ToolUseTokensByModality.

Link copied to clipboard
public Boolean equals(Object other)
Link copied to clipboard
public Integer hashCode()
Link copied to clipboard
public final Boolean isValid()
Link copied to clipboard

The modality associated with the token count.

Link copied to clipboard
Link copied to clipboard
public final Optional<Integer> tokens()

Number of tokens for the modality.

Link copied to clipboard
public String toString()
Link copied to clipboard