Class BetaManagedAgentsSystemMessageEventParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSystemMessageEventParamsPrivileged context for the accompanying turn and all subsequent turns, appended to the session's system context as a
role: "system"turn rather than replacing the top-level system prompt. At most one per request: it must be the final event and immediately follow theuser.message,user.tool_result, oruser.custom_tool_resultit accompanies. Only supported on models that accept mid-conversation system messages.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsSystemMessageEventParams.BuilderA builder for BetaManagedAgentsSystemMessageEventParams.
public final classBetaManagedAgentsSystemMessageEventParams.Type
-
Method Summary
Modifier and Type Method Description final List<BetaManagedAgentsSystemContentBlock>content()System content blocks to append. final BetaManagedAgentsSystemMessageEventParams.Typetype()final JsonField<List<BetaManagedAgentsSystemContentBlock>>_content()Returns the raw JSON value of content. final JsonField<BetaManagedAgentsSystemMessageEventParams.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsSystemMessageEventParams.BuildertoBuilder()final BetaManagedAgentsSystemMessageEventParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsSystemMessageEventParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsSystemMessageEventParams. -
-
Method Detail
-
content
final List<BetaManagedAgentsSystemContentBlock> content()
System content blocks to append. Text-only.
-
type
final BetaManagedAgentsSystemMessageEventParams.Type type()
-
_content
final JsonField<List<BetaManagedAgentsSystemContentBlock>> _content()
Returns the raw JSON value of content.
Unlike content, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<BetaManagedAgentsSystemMessageEventParams.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsSystemMessageEventParams.Builder toBuilder()
-
validate
final BetaManagedAgentsSystemMessageEventParams 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 BetaManagedAgentsSystemMessageEventParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsSystemMessageEventParams.
The following fields are required:
.content() .type()
-
-
-
-