Class BetaCodeExecutionToolResultBlockParam
-
- All Implemented Interfaces:
public final class BetaCodeExecutionToolResultBlockParam
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaCodeExecutionToolResultBlockParam.BuilderA builder for BetaCodeExecutionToolResultBlockParam.
-
Method Summary
Modifier and Type Method Description final BetaCodeExecutionToolResultBlockParamContentcontent()Code execution result with encrypted stdout for PFC + web_search results. final StringtoolUseId()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("code_execution_tool_result")final Optional<BetaCacheControlEphemeral>cacheControl()Create a cache control breakpoint at this content block. final JsonField<BetaCodeExecutionToolResultBlockParamContent>_content()Returns the raw JSON value of content. final JsonField<String>_toolUseId()Returns the raw JSON value of toolUseId. final JsonField<BetaCacheControlEphemeral>_cacheControl()Returns the raw JSON value of cacheControl. final Map<String, JsonValue>_additionalProperties()final BetaCodeExecutionToolResultBlockParam.BuildertoBuilder()final BetaCodeExecutionToolResultBlockParamvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaCodeExecutionToolResultBlockParam.Builderbuilder()Returns a mutable builder for constructing an instance of BetaCodeExecutionToolResultBlockParam. -
-
Method Detail
-
content
final BetaCodeExecutionToolResultBlockParamContent content()
Code execution result with encrypted stdout for PFC + web_search results.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("code_execution_tool_result")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
cacheControl
final Optional<BetaCacheControlEphemeral> cacheControl()
Create a cache control breakpoint at this content block.
-
_content
final JsonField<BetaCodeExecutionToolResultBlockParamContent> _content()
Returns the raw JSON value of content.
Unlike content, this method doesn't throw if the JSON field has an unexpected type.
-
_toolUseId
final JsonField<String> _toolUseId()
Returns the raw JSON value of toolUseId.
Unlike toolUseId, this method doesn't throw if the JSON field has an unexpected type.
-
_cacheControl
final JsonField<BetaCacheControlEphemeral> _cacheControl()
Returns the raw JSON value of cacheControl.
Unlike cacheControl, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaCodeExecutionToolResultBlockParam.Builder toBuilder()
-
validate
final BetaCodeExecutionToolResultBlockParam validate()
-
builder
final static BetaCodeExecutionToolResultBlockParam.Builder builder()
Returns a mutable builder for constructing an instance of BetaCodeExecutionToolResultBlockParam.
The following fields are required:
.content() .toolUseId()
-
-
-
-