Class BetaManagedAgentsSessionThreadAgent
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSessionThreadAgentResolved
agentdefinition for a singlesession_thread. Snapshot of the agent at thread creation time. The multiagent roster is not repeated here; read it fromSession.agent.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsSessionThreadAgent.BuilderA builder for BetaManagedAgentsSessionThreadAgent.
public final classBetaManagedAgentsSessionThreadAgent.SkillResolved skill as returned in API responses.
public final classBetaManagedAgentsSessionThreadAgent.ToolUnion type for tool configurations returned in API responses.
public final classBetaManagedAgentsSessionThreadAgent.Type
-
Method Summary
-
-
Method Detail
-
description
final Optional<String> description()
-
mcpServers
final List<BetaManagedAgentsMcpServerUrlDefinition> mcpServers()
-
model
final BetaManagedAgentsModelConfig model()
Model identifier and configuration.
-
skills
final List<BetaManagedAgentsSessionThreadAgent.Skill> skills()
-
tools
final List<BetaManagedAgentsSessionThreadAgent.Tool> tools()
-
type
final BetaManagedAgentsSessionThreadAgent.Type type()
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_mcpServers
final JsonField<List<BetaManagedAgentsMcpServerUrlDefinition>> _mcpServers()
Returns the raw JSON value of mcpServers.
Unlike mcpServers, this method doesn't throw if the JSON field has an unexpected type.
-
_model
final JsonField<BetaManagedAgentsModelConfig> _model()
Returns the raw JSON value of model.
Unlike model, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_skills
final JsonField<List<BetaManagedAgentsSessionThreadAgent.Skill>> _skills()
Returns the raw JSON value of skills.
Unlike skills, this method doesn't throw if the JSON field has an unexpected type.
-
_system
final JsonField<String> _system()
Returns the raw JSON value of system.
Unlike system, this method doesn't throw if the JSON field has an unexpected type.
-
_tools
final JsonField<List<BetaManagedAgentsSessionThreadAgent.Tool>> _tools()
Returns the raw JSON value of tools.
Unlike tools, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<BetaManagedAgentsSessionThreadAgent.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_version
final JsonField<Integer> _version()
Returns the raw JSON value of version.
Unlike version, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsSessionThreadAgent.Builder toBuilder()
-
validate
final BetaManagedAgentsSessionThreadAgent 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 BetaManagedAgentsSessionThreadAgent.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionThreadAgent.
The following fields are required:
.id() .description() .mcpServers() .model() .name() .skills() .system() .tools() .type() .version()
-
-
-
-