Class WebSearchToolParams
java.lang.Object
com.oracle.database.selectai.model.agent.WebSearchToolParams
- All Implemented Interfaces:
ToolParams
Immutable parameters for a built-in web-search tool.
Unset parameters are omitted. The database validates required fields and tool-specific rules, allowing this model to represent partial updates. Additional parameters are retained for newer database releases.
- Since:
- 1.1.0
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic WebSearchToolParams.Builderbuilder()Creates a builder for web-search tool parameters.Returns the database credential name.toMap()Returns parameters using database JSON field names.
-
Method Details
-
builder
Creates a builder for web-search tool parameters.- Returns:
- new mutable builder
- See Also:
-
getCredentialName
Returns the database credential name.- Returns:
- database credential name, or null when unset
- See Also:
-
toMap
Returns parameters using database JSON field names.SDK implementations return immutable maps, including nested values. Additional parameters appear alongside known parameters, without an extra wrapper property. Implementations supplied by callers are snapshotted by
ToolAttributes.Builder.toolParams(ToolParams).- Specified by:
toMapin interfaceToolParams- Returns:
- parameter map; never null
- See Also:
-