Class BetaManagedAgentsInlineAgent
-
- All Implemented Interfaces:
public final class BetaManagedAgentsInlineAgentAn agent that has no Agent resource, and so no
idorversion. It is defined inline, in a workflow run's plan or when a session thread is spawned, and is not saved.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsInlineAgent.BuilderA builder for BetaManagedAgentsInlineAgent.
public final classBetaManagedAgentsInlineAgent.SkillResolved skill as returned in API responses.
public final classBetaManagedAgentsInlineAgent.ToolUnion type for tool configurations returned in API responses.
-
Method Summary
Modifier and Type Method Description final Optional<String>description()final BetaManagedAgentsExecutionIdentityexecutionIdentity()The session's execution principal. final List<BetaManagedAgentsMcpServerUrlDefinition>mcpServers()final BetaManagedAgentsModelConfigmodel()Model identifier and configuration. final Stringname()The name that the agent's definition gave, or one that the server assigned. final List<BetaManagedAgentsInlineAgent.Skill>skills()final Optional<String>system()final List<BetaManagedAgentsInlineAgent.Tool>tools()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("inline")final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<BetaManagedAgentsExecutionIdentity>_executionIdentity()Returns the raw JSON value of executionIdentity. final JsonField<List<BetaManagedAgentsMcpServerUrlDefinition>>_mcpServers()Returns the raw JSON value of mcpServers. final JsonField<BetaManagedAgentsModelConfig>_model()Returns the raw JSON value of model. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<List<BetaManagedAgentsInlineAgent.Skill>>_skills()Returns the raw JSON value of skills. final JsonField<String>_system()Returns the raw JSON value of system. final JsonField<List<BetaManagedAgentsInlineAgent.Tool>>_tools()Returns the raw JSON value of tools. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsInlineAgent.BuildertoBuilder()final BetaManagedAgentsInlineAgentvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsInlineAgent.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsInlineAgent. -
-
Method Detail
-
description
final Optional<String> description()
-
executionIdentity
final BetaManagedAgentsExecutionIdentity executionIdentity()
The session's execution principal.
-
mcpServers
final List<BetaManagedAgentsMcpServerUrlDefinition> mcpServers()
-
model
final BetaManagedAgentsModelConfig model()
Model identifier and configuration.
-
name
final String name()
The name that the agent's definition gave, or one that the server assigned.
-
skills
final List<BetaManagedAgentsInlineAgent.Skill> skills()
-
tools
final List<BetaManagedAgentsInlineAgent.Tool> tools()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("inline")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_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.
-
_executionIdentity
final JsonField<BetaManagedAgentsExecutionIdentity> _executionIdentity()
Returns the raw JSON value of executionIdentity.
Unlike executionIdentity, 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<BetaManagedAgentsInlineAgent.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<BetaManagedAgentsInlineAgent.Tool>> _tools()
Returns the raw JSON value of tools.
Unlike tools, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsInlineAgent.Builder toBuilder()
-
validate
final BetaManagedAgentsInlineAgent 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 BetaManagedAgentsInlineAgent.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsInlineAgent.
The following fields are required:
.description() .executionIdentity() .mcpServers() .model() .name() .skills() .system() .tools()
-
-
-
-