Class BetaManagedAgentsMultiagentParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsMultiagentParamsA coordinator topology: the session's primary thread orchestrates work by spawning session threads, each running an agent drawn from the
agentsroster.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsMultiagentParams.BuilderA builder for BetaManagedAgentsMultiagentParams.
public final classBetaManagedAgentsMultiagentParams.Type
-
Method Summary
Modifier and Type Method Description final List<BetaManagedAgentsMultiagentRosterEntryParams>agents()Agents the coordinator may spawn as session threads. final BetaManagedAgentsMultiagentParams.Typetype()final JsonField<List<BetaManagedAgentsMultiagentRosterEntryParams>>_agents()Returns the raw JSON value of agents. final JsonField<BetaManagedAgentsMultiagentParams.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsMultiagentParams.BuildertoBuilder()final BetaManagedAgentsMultiagentParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsMultiagentParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsMultiagentParams. -
-
Method Detail
-
agents
final List<BetaManagedAgentsMultiagentRosterEntryParams> agents()
Agents the coordinator may spawn as session threads. 1–20 entries. Each entry is an agent ID string, a versioned
{"type":"agent","id","version"}reference, or{"type":"self"}to allow recursive self-invocation. Entries must reference distinct agents (after resolvingselfand string forms); at most oneself. Referenced agents must exist, must not be archived, and must not themselves havemultiagentset (depth limit 1).
-
type
final BetaManagedAgentsMultiagentParams.Type type()
-
_agents
final JsonField<List<BetaManagedAgentsMultiagentRosterEntryParams>> _agents()
Returns the raw JSON value of agents.
Unlike agents, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<BetaManagedAgentsMultiagentParams.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 BetaManagedAgentsMultiagentParams.Builder toBuilder()
-
validate
final BetaManagedAgentsMultiagentParams 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 BetaManagedAgentsMultiagentParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsMultiagentParams.
The following fields are required:
.agents() .type()
-
-
-
-