UpdateDatabaseToolsMcpToolsetToolDetails

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

Bases: object

MCP toolset tool configuration

Attributes:

STATUS_DISABLED

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

STATUS_ENABLED

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

allowed_roles

Gets the allowed_roles of this UpdateDatabaseToolsMcpToolsetToolDetails.

name

[Required] Gets the name of this UpdateDatabaseToolsMcpToolsetToolDetails.

status

Gets the status of this UpdateDatabaseToolsMcpToolsetToolDetails.

Methods:

__init__(**kwargs)

Initializes a new UpdateDatabaseToolsMcpToolsetToolDetails object with values from keyword arguments.

STATUS_DISABLED = 'DISABLED'

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

STATUS_ENABLED = 'ENABLED'

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

__init__(**kwargs)

Initializes a new UpdateDatabaseToolsMcpToolsetToolDetails 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 UpdateDatabaseToolsMcpToolsetToolDetails.

  • status (str) – The value to assign to the status property of this UpdateDatabaseToolsMcpToolsetToolDetails. Allowed values for this property are: “ENABLED”, “DISABLED”

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

property allowed_roles

Gets the allowed_roles of this UpdateDatabaseToolsMcpToolsetToolDetails. The roles granted access to this tool

Returns

The allowed_roles of this UpdateDatabaseToolsMcpToolsetToolDetails.

Return type

list[str]

property name

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

Returns

The name of this UpdateDatabaseToolsMcpToolsetToolDetails.

Return type

str

property status

Gets the status of this UpdateDatabaseToolsMcpToolsetToolDetails. The status of the tool

Allowed values for this property are: “ENABLED”, “DISABLED”

Returns

The status of this UpdateDatabaseToolsMcpToolsetToolDetails.

Return type

str