Class BetaOutputConfig
-
- All Implemented Interfaces:
public final class BetaOutputConfig
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaOutputConfig.BuilderA builder for BetaOutputConfig.
public final classBetaOutputConfig.EffortHow much effort the model should put into its response. Higher effort levels may result in more thorough analysis but take longer.
Valid values are
low,medium,high,xhigh, ormax.
-
Method Summary
Modifier and Type Method Description final Optional<BetaOutputConfig.Effort>effort()How much effort the model should put into its response. final Optional<BetaJsonOutputFormat>format()A schema to specify Claude's output format in responses. final Optional<BetaTokenTaskBudget>taskBudget()Configuration for token budget tracking across contexts. final JsonField<BetaOutputConfig.Effort>_effort()Returns the raw JSON value of effort. final JsonField<BetaJsonOutputFormat>_format()Returns the raw JSON value of format. final JsonField<BetaTokenTaskBudget>_taskBudget()Returns the raw JSON value of taskBudget. final Map<String, JsonValue>_additionalProperties()final BetaOutputConfig.BuildertoBuilder()final BetaOutputConfigvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaOutputConfig.Builderbuilder()Returns a mutable builder for constructing an instance of BetaOutputConfig. -
-
Method Detail
-
effort
final Optional<BetaOutputConfig.Effort> effort()
How much effort the model should put into its response. Higher effort levels may result in more thorough analysis but take longer.
Valid values are
low,medium,high,xhigh, ormax.
-
format
final Optional<BetaJsonOutputFormat> format()
A schema to specify Claude's output format in responses. See structured outputs
-
taskBudget
final Optional<BetaTokenTaskBudget> taskBudget()
Configuration for token budget tracking across contexts.
-
_effort
final JsonField<BetaOutputConfig.Effort> _effort()
Returns the raw JSON value of effort.
Unlike effort, this method doesn't throw if the JSON field has an unexpected type.
-
_format
final JsonField<BetaJsonOutputFormat> _format()
Returns the raw JSON value of format.
Unlike format, this method doesn't throw if the JSON field has an unexpected type.
-
_taskBudget
final JsonField<BetaTokenTaskBudget> _taskBudget()
Returns the raw JSON value of taskBudget.
Unlike taskBudget, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaOutputConfig.Builder toBuilder()
-
validate
final BetaOutputConfig validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaOutputConfig.Builder builder()
Returns a mutable builder for constructing an instance of BetaOutputConfig.
-
-
-
-