Class CreateDatabaseToolsMcpToolsetCustomSqlToolDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasetools.model.CreateDatabaseToolsMcpToolsetDetails
-
- com.oracle.bmc.databasetools.model.CreateDatabaseToolsMcpToolsetCustomSqlToolDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201005") public final class CreateDatabaseToolsMcpToolsetCustomSqlToolDetails extends CreateDatabaseToolsMcpToolsetDetailsDetails for the new Database Tools MCP Toolset.
Note: Objects should always be created or deserialized using theCreateDatabaseToolsMcpToolsetCustomSqlToolDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theCreateDatabaseToolsMcpToolsetCustomSqlToolDetails.Builder, which maintain a set of all explicitly set fields calledCreateDatabaseToolsMcpToolsetCustomSqlToolDetails.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateDatabaseToolsMcpToolsetCustomSqlToolDetails.Builder
-
Constructor Summary
Constructors Constructor Description CreateDatabaseToolsMcpToolsetCustomSqlToolDetails(Integer version, String compartmentId, String displayName, String databaseToolsMcpServerId, String description, Map<String,Map<String,Object>> definedTags, Map<String,String> freeformTags, List<ResourceLock> locks, String toolDescription, String toolName, DatabaseToolsCustomSqlToolToolsetSource source, List<DatabaseToolsMcpToolsetCustomSqlToolVariable> variables, List<String> allowedRoles, DatabaseToolsMcpToolsetDefaultExecutionType defaultExecutionType)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateDatabaseToolsMcpToolsetCustomSqlToolDetails.Builderbuilder()Create a new builder.booleanequals(Object o)List<String>getAllowedRoles()The roles granted access to the MCP tool generated by this toolsetDatabaseToolsMcpToolsetDefaultExecutionTypegetDefaultExecutionType()The default execution type for the toolset.DatabaseToolsCustomSqlToolToolsetSourcegetSource()StringgetToolDescription()Instructions describing how to use the MCP toolset and its features.StringgetToolName()Name of the tool returned by the MCP ServerList<DatabaseToolsMcpToolsetCustomSqlToolVariable>getVariables()The variables to use with the queryinthashCode()CreateDatabaseToolsMcpToolsetCustomSqlToolDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.databasetools.model.CreateDatabaseToolsMcpToolsetDetails
getCompartmentId, getDatabaseToolsMcpServerId, getDefinedTags, getDescription, getDisplayName, getFreeformTags, getLocks, getVersion
-
-
-
-
Constructor Detail
-
CreateDatabaseToolsMcpToolsetCustomSqlToolDetails
@Deprecated public CreateDatabaseToolsMcpToolsetCustomSqlToolDetails(Integer version, String compartmentId, String displayName, String databaseToolsMcpServerId, String description, Map<String,Map<String,Object>> definedTags, Map<String,String> freeformTags, List<ResourceLock> locks, String toolDescription, String toolName, DatabaseToolsCustomSqlToolToolsetSource source, List<DatabaseToolsMcpToolsetCustomSqlToolVariable> variables, List<String> allowedRoles, DatabaseToolsMcpToolsetDefaultExecutionType defaultExecutionType)
Deprecated.
-
-
Method Detail
-
builder
public static CreateDatabaseToolsMcpToolsetCustomSqlToolDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateDatabaseToolsMcpToolsetCustomSqlToolDetails.Builder toBuilder()
-
getToolDescription
public String getToolDescription()
Instructions describing how to use the MCP toolset and its features.This can be used to improve the LLM’s understanding of the tool.
- Returns:
- the value
-
getToolName
public String getToolName()
Name of the tool returned by the MCP Server- Returns:
- the value
-
getSource
public DatabaseToolsCustomSqlToolToolsetSource getSource()
-
getVariables
public List<DatabaseToolsMcpToolsetCustomSqlToolVariable> getVariables()
The variables to use with the query- Returns:
- the value
-
getAllowedRoles
public List<String> getAllowedRoles()
The roles granted access to the MCP tool generated by this toolset- Returns:
- the value
-
getDefaultExecutionType
public DatabaseToolsMcpToolsetDefaultExecutionType getDefaultExecutionType()
The default execution type for the toolset.The default value is SYNCHRONOUS.
To use ASYNCHRONOUS execution, the MCP Server must have the storage property configured.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classCreateDatabaseToolsMcpToolsetDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classCreateDatabaseToolsMcpToolsetDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCreateDatabaseToolsMcpToolsetDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCreateDatabaseToolsMcpToolsetDetails
-
-