Class ToolInput
java.lang.Object
com.oracle.database.selectai.model.agent.ToolInput
Immutable metadata for one entry in a tool's
tool_inputs array.
The name identifies the tool input; the optional description provides
instructions to the model. Describing supported values does not enforce
those values in Java. The database validates input names and their
compatibility with the configured tool. This model describes an input,
not the input value passed to Tool.run(...).
- Since:
- 1.1.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder forToolInput; semantic validation is delegated to the database. -
Method Summary
Modifier and TypeMethodDescriptionstatic ToolInput.Builderbuilder()Creates a builder for tool input metadata.Returns the description supplied to the model, not a validation rule.getName()Returns the input name without accessing the database.
-
Method Details
-
getName
Returns the input name without accessing the database.- Returns:
- input name, or
nullwhen unset - See Also:
-
getDescription
Returns the description supplied to the model, not a validation rule.- Returns:
- input description, or
nullwhen unset - See Also:
-
builder
Creates a builder for tool input metadata.- Returns:
- mutable tool input builder
- See Also:
-