DatabaseToolsMcpToolsetToolDetails

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

Bases: object

MCP toolset tool configuration

Attributes:

STATUS_DISABLED

A constant which can be used with the status property of a DatabaseToolsMcpToolsetToolDetails.

STATUS_ENABLED

A constant which can be used with the status property of a DatabaseToolsMcpToolsetToolDetails.

allowed_roles

[Required] Gets the allowed_roles of this DatabaseToolsMcpToolsetToolDetails.

display_name

[Required] Gets the display_name of this DatabaseToolsMcpToolsetToolDetails.

name

[Required] Gets the name of this DatabaseToolsMcpToolsetToolDetails.

status

[Required] Gets the status of this DatabaseToolsMcpToolsetToolDetails.

Methods:

__init__(**kwargs)

Initializes a new DatabaseToolsMcpToolsetToolDetails object with values from keyword arguments.

STATUS_DISABLED = 'DISABLED'

A constant which can be used with the status property of a DatabaseToolsMcpToolsetToolDetails. This constant has a value of “DISABLED”

STATUS_ENABLED = 'ENABLED'

A constant which can be used with the status property of a DatabaseToolsMcpToolsetToolDetails. This constant has a value of “ENABLED”

__init__(**kwargs)

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

Parameters
  • name (str) – The value to assign to the name property of this DatabaseToolsMcpToolsetToolDetails.

  • display_name (str) – The value to assign to the display_name property of this DatabaseToolsMcpToolsetToolDetails.

  • status (str) – The value to assign to the status property of this DatabaseToolsMcpToolsetToolDetails. Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • allowed_roles (list[str]) – The value to assign to the allowed_roles property of this DatabaseToolsMcpToolsetToolDetails.

property allowed_roles

[Required] Gets the allowed_roles of this DatabaseToolsMcpToolsetToolDetails. The roles granted access to this MCP tool

Returns

The allowed_roles of this DatabaseToolsMcpToolsetToolDetails.

Return type

list[str]

property display_name

[Required] Gets the display_name of this DatabaseToolsMcpToolsetToolDetails. The display name of the tool

Returns

The display_name of this DatabaseToolsMcpToolsetToolDetails.

Return type

str

property name

[Required] Gets the name of this DatabaseToolsMcpToolsetToolDetails. The name of the tool

Returns

The name of this DatabaseToolsMcpToolsetToolDetails.

Return type

str

property status

[Required] Gets the status of this DatabaseToolsMcpToolsetToolDetails. The status of the tool

Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The status of this DatabaseToolsMcpToolsetToolDetails.

Return type

str