Package com.oracle.database.selectai.model.agent
The models in this package are used with the public agent interfaces and
represent data exchanged with the DBMS_CLOUD_AI_AGENT PL/SQL
package. Builders prepare values locally; constructing a model does not
execute a database operation. Built models retain immutable snapshots of
their configured collections and maps; builders are mutable and should not
be shared across threads without synchronization.
Resource and tool configuration
AgentAttributes, TaskAttributes, ToolAttributes, and
TeamAttributes describe creation settings, attribute updates, and
attributes loaded from database metadata. AgentStatus,
TaskStatus, ToolStatus, and TeamStatus describe
resource enablement, not workflow execution state.
ToolParams provides immutable built-in tool configuration through
SqlToolParams, RagToolParams, WebSearchToolParams,
SlackNotificationToolParams, and
EmailNotificationToolParams. GenericToolParams preserves
parameters for other database-defined tool types or schemas that cannot be
represented by the known models. Known tool-parameter models also retain
additional database fields. ToolType is an extensible value object
that preserves tool-type values introduced by newer database releases.
ToolInput models input names and descriptions in the immutable
tool_inputs list exposed by ToolAttributes. Descriptions
guide the model and do not enforce supported input values in Java.
Team requests and results
RunTeamRequestcarries the prompt andRunTeamParamsfor a team run. Runtime parameters include a conversation ID and instruction, attribute, and state variable maps.ExecutionStateRequestcarries the requestedTeamExecutionStateandExecutionStateParamsidentifying the conversation. An explicit non-blank conversation ID is required.ExportTeamParamsmodels export options.ExportTeamRequestadds a destination and optional credential;ImportTeamRequestaccepts a location or inline specification.TeamRunResultandToolRunResultretain raw database output, which can be text or JSON, without imposing an output schema.TeamExecutionStaterepresents workflow state. Unknown non-blank database states map toTeamExecutionState.UNKNOWN; that sentinel cannot be submitted in an execution-state update.TeamDescriptionexposes team metadata and retains the skills representation as JSON text.AvailableTeamis a read-only discovery snapshot, not a mutable team handle.
Validation
Resource-attribute builders do not require fields that the database validates when a resource is created. They retain documented Java checks, such as numeric ranges and collection structure. Request models validate required arguments and mutually exclusive input forms where documented. The database applies semantic validation and version-specific behavior when operations are executed. See each model's contract for omitted values and validation rules; typed requests do not imply unrestricted raw-JSON support.-
ClassDescriptionAttributes used to create or update a Select AI Agent.Builder for
AgentAttributes.Object types accepted by object-type parameters inDBMS_CLOUD_AI_AGENT.Status values for Select AI agents.Read-only discovery metadata for an agent team available to the current database user.Immutable parameters for a built-in email notification tool.Builder for immutableEmailNotificationToolParams.Typed parameters for aSET_EXECUTION_STATEoperation.Builder for immutable execution-state parameters.Request used to update an agent team execution state.Builder forExecutionStateRequest.Typed parameters for exporting an agent team definition to a destination.Builder for immutable export parameters.Request used to export a team definition to a file or object-storage URI.Builder forExportTeamRequest.Immutable parameters for tools or parameter schemas not modeled by this SDK.Builder forGenericToolParams.Request used to import a Select AI Agent team definition.Builder forImportTeamRequest.Immutable parameters for a built-in RAG tool.Builder for immutableRagToolParams.Typed runtime parameters forDBMS_CLOUD_AI_AGENT.RUN_TEAM.Builder for immutable team runtime parameters.Input and optional runtime parameters forTeam.run(RunTeamRequest)andSelectAIAgent.runTeam(String, RunTeamRequest).Builder forRunTeamRequest.Immutable parameters for a built-in Slack notification tool.Builder for immutableSlackNotificationToolParams.Immutable parameters for a built-in SQL tool.Builder for immutableSqlToolParams.Attributes used to create or update a Select AI Agent task.Builder forTaskAttributes.Status values accepted when creating a Select AI Agent task.Attributes used to create a Select AI Agent team.Builder forTeamAttributes.Team member definition used in agent-team attributes.Builder forTeamAttributes.TeamMember.Database-generated description of a Select AI Agent team.Execution states supported by a Select AI Agent team.Result returned by a Select AI Agent team run.Status values accepted when creating a Select AI Agent team.Attributes used to create or update a Select AI Agent tool.Builder forToolAttributes.Immutable metadata for one entry in a tool'stool_inputsarray.Builder forToolInput; semantic validation is delegated to the database.Configuration parameters for a built-in Select AI Agent tool.Result returned by a Select AI Agent tool run.Status values accepted when creating a Select AI Agent tool.Immutable value object for a Select AI Agent tool type.Immutable parameters for a built-in web-search tool.Builder for immutableWebSearchToolParams.