DatabaseToolsMcpToolsetCustomSqlToolVersion

class oci.database_tools.models.DatabaseToolsMcpToolsetCustomSqlToolVersion(**kwargs)

Bases: object

A specific version entry for a CUSTOM_SQL_TOOL MCP toolset version

Methods

__init__(**kwargs) Initializes a new DatabaseToolsMcpToolsetCustomSqlToolVersion object with values from keyword arguments.

Attributes

default_allowed_roles [Required] Gets the default_allowed_roles of this DatabaseToolsMcpToolsetCustomSqlToolVersion.
description [Required] Gets the description of this DatabaseToolsMcpToolsetCustomSqlToolVersion.
features Gets the features of this DatabaseToolsMcpToolsetCustomSqlToolVersion.
version [Required] Gets the version of this DatabaseToolsMcpToolsetCustomSqlToolVersion.
__init__(**kwargs)

Initializes a new DatabaseToolsMcpToolsetCustomSqlToolVersion object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • version (int) – The value to assign to the version property of this DatabaseToolsMcpToolsetCustomSqlToolVersion.
  • description (str) – The value to assign to the description property of this DatabaseToolsMcpToolsetCustomSqlToolVersion.
  • features (list[str]) – The value to assign to the features property of this DatabaseToolsMcpToolsetCustomSqlToolVersion.
  • default_allowed_roles (list[str]) – The value to assign to the default_allowed_roles property of this DatabaseToolsMcpToolsetCustomSqlToolVersion.
default_allowed_roles

[Required] Gets the default_allowed_roles of this DatabaseToolsMcpToolsetCustomSqlToolVersion. The roles granted access to this toolset version by default.

Returns:The default_allowed_roles of this DatabaseToolsMcpToolsetCustomSqlToolVersion.
Return type:list[str]
description

[Required] Gets the description of this DatabaseToolsMcpToolsetCustomSqlToolVersion. A description of this version.

Returns:The description of this DatabaseToolsMcpToolsetCustomSqlToolVersion.
Return type:str
features

Gets the features of this DatabaseToolsMcpToolsetCustomSqlToolVersion. Optional feature flags or attributes for this version.

Returns:The features of this DatabaseToolsMcpToolsetCustomSqlToolVersion.
Return type:list[str]
version

[Required] Gets the version of this DatabaseToolsMcpToolsetCustomSqlToolVersion. The version number.

Returns:The version of this DatabaseToolsMcpToolsetCustomSqlToolVersion.
Return type:int