Class BashCodeExecutionToolResultBlockParam
-
- All Implemented Interfaces:
public final class BashCodeExecutionToolResultBlockParam
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBashCodeExecutionToolResultBlockParam.BuilderA builder for BashCodeExecutionToolResultBlockParam.
public final classBashCodeExecutionToolResultBlockParam.Content
-
Method Summary
-
-
Method Detail
-
content
final BashCodeExecutionToolResultBlockParam.Content content()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("bash_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<CacheControlEphemeral> cacheControl()
Create a cache control breakpoint at this content block.
-
_content
final JsonField<BashCodeExecutionToolResultBlockParam.Content> _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<CacheControlEphemeral> _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 BashCodeExecutionToolResultBlockParam.Builder toBuilder()
-
validate
final BashCodeExecutionToolResultBlockParam validate()
-
builder
final static BashCodeExecutionToolResultBlockParam.Builder builder()
Returns a mutable builder for constructing an instance of BashCodeExecutionToolResultBlockParam.
The following fields are required:
.content() .toolUseId()
-
-
-
-