Class BetaManagedAgentsSessionRequiresAction
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSessionRequiresActionThe agent is idle waiting on one or more blocking user-input events (tool confirmation, custom tool result, etc.). Resolving all of them transitions the session back to running.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsSessionRequiresAction.BuilderA builder for BetaManagedAgentsSessionRequiresAction.
-
Method Summary
Modifier and Type Method Description final List<String>eventIds()The ids of events the agent is blocked on. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("requires_action")final JsonField<List<String>>_eventIds()Returns the raw JSON value of eventIds. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsSessionRequiresAction.BuildertoBuilder()final BetaManagedAgentsSessionRequiresActionvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsSessionRequiresAction.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionRequiresAction. final static BetaManagedAgentsSessionRequiresActionof(List<String> eventIds)Returns an immutable instance of BetaManagedAgentsSessionRequiresAction with the required eventIds set to the given value. -
-
Method Detail
-
eventIds
final List<String> eventIds()
The ids of events the agent is blocked on. Resolving fewer than all re-emits
session.status_idlewith the remainder.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("requires_action")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_eventIds
final JsonField<List<String>> _eventIds()
Returns the raw JSON value of eventIds.
Unlike eventIds, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsSessionRequiresAction.Builder toBuilder()
-
validate
final BetaManagedAgentsSessionRequiresAction 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 BetaManagedAgentsSessionRequiresAction.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionRequiresAction.
The following fields are required:
.eventIds()
-
of
final static BetaManagedAgentsSessionRequiresAction of(List<String> eventIds)
Returns an immutable instance of BetaManagedAgentsSessionRequiresAction with the required eventIds set to the given value.
-
-
-
-