DatabaseToolsMcpToolsetToolDetails¶
-
class
oci.database_tools.models.DatabaseToolsMcpToolsetToolDetails(**kwargs)¶ Bases:
objectMCP toolset tool configuration
Attributes
STATUS_DISABLEDA constant which can be used with the status property of a DatabaseToolsMcpToolsetToolDetails. STATUS_ENABLEDA 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.
-
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]
-
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
-
name¶ [Required] Gets the name of this DatabaseToolsMcpToolsetToolDetails. The name of the tool
Returns: The name of this DatabaseToolsMcpToolsetToolDetails. Return type: str
-
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
-