Show / Hide Table of Contents

Class DatabaseToolsMcpToolsetCustomSqlTool

Allows the creation, configuration and management of an McpToolset.

Inheritance
object
DatabaseToolsMcpToolset
DatabaseToolsMcpToolsetCustomSqlTool
Inherited Members
DatabaseToolsMcpToolset.Id
DatabaseToolsMcpToolset.Version
DatabaseToolsMcpToolset.CompartmentId
DatabaseToolsMcpToolset.DisplayName
DatabaseToolsMcpToolset.Description
DatabaseToolsMcpToolset.DatabaseToolsMcpServerId
DatabaseToolsMcpToolset.LifecycleState
DatabaseToolsMcpToolset.LifecycleDetails
DatabaseToolsMcpToolset.TimeCreated
DatabaseToolsMcpToolset.TimeUpdated
DatabaseToolsMcpToolset.DefinedTags
DatabaseToolsMcpToolset.FreeformTags
DatabaseToolsMcpToolset.SystemTags
DatabaseToolsMcpToolset.Locks
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatabasetoolsService.Models
Assembly: OCI.DotNetSDK.Databasetools.dll
Syntax
public class DatabaseToolsMcpToolsetCustomSqlTool : DatabaseToolsMcpToolset

Properties

AllowedRoles

Declaration
[JsonProperty(PropertyName = "allowedRoles")]
public List<string> AllowedRoles { get; set; }
Property Value
Type Description
List<string>

The roles granted access to the MCP tool generated by this toolset

DefaultExecutionType

Declaration
[JsonProperty(PropertyName = "defaultExecutionType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DatabaseToolsMcpToolsetDefaultExecutionType? DefaultExecutionType { get; set; }
Property Value
Type Description
DatabaseToolsMcpToolsetDefaultExecutionType?

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.

Source

Declaration
[Required(ErrorMessage = "Source is required.")]
[JsonProperty(PropertyName = "source")]
public DatabaseToolsCustomSqlToolToolsetSource Source { get; set; }
Property Value
Type Description
DatabaseToolsCustomSqlToolToolsetSource
Remarks

Required

ToolDescription

Declaration
[JsonProperty(PropertyName = "toolDescription")]
public string ToolDescription { get; set; }
Property Value
Type Description
string

Instructions describing how to use the MCP toolset and its features. This can be used to improve the LLM's understanding of the tool.

ToolName

Declaration
[Required(ErrorMessage = "ToolName is required.")]
[JsonProperty(PropertyName = "toolName")]
public string ToolName { get; set; }
Property Value
Type Description
string

Name of the tool returned by the MCP Server

Remarks

Required

Variables

Declaration
[JsonProperty(PropertyName = "variables")]
public List<DatabaseToolsMcpToolsetCustomSqlToolVariable> Variables { get; set; }
Property Value
Type Description
List<DatabaseToolsMcpToolsetCustomSqlToolVariable>

The variables to use with the query

In this article
Back to top