DatabaseToolsMcpToolsetVersionTool¶
- class oci.database_tools.models.DatabaseToolsMcpToolsetVersionTool(**kwargs)¶
Bases:
objectA tool definition for a specific MCP toolset version.
Attributes:
A constant which can be used with the default_status property of a DatabaseToolsMcpToolsetVersionTool.
A constant which can be used with the default_status property of a DatabaseToolsMcpToolsetVersionTool.
Gets the default_allowed_roles of this DatabaseToolsMcpToolsetVersionTool.
[Required] Gets the default_status of this DatabaseToolsMcpToolsetVersionTool.
[Required] Gets the description of this DatabaseToolsMcpToolsetVersionTool.
[Required] Gets the display_name of this DatabaseToolsMcpToolsetVersionTool.
[Required] Gets the name of this DatabaseToolsMcpToolsetVersionTool.
Methods:
__init__(**kwargs)Initializes a new DatabaseToolsMcpToolsetVersionTool object with values from keyword arguments.
- DEFAULT_STATUS_DISABLED = 'DISABLED'¶
A constant which can be used with the default_status property of a DatabaseToolsMcpToolsetVersionTool. This constant has a value of “DISABLED”
- DEFAULT_STATUS_ENABLED = 'ENABLED'¶
A constant which can be used with the default_status property of a DatabaseToolsMcpToolsetVersionTool. This constant has a value of “ENABLED”
- __init__(**kwargs)¶
Initializes a new DatabaseToolsMcpToolsetVersionTool 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 DatabaseToolsMcpToolsetVersionTool.
display_name (str) – The value to assign to the display_name property of this DatabaseToolsMcpToolsetVersionTool.
description (str) – The value to assign to the description property of this DatabaseToolsMcpToolsetVersionTool.
default_status (str) – The value to assign to the default_status property of this DatabaseToolsMcpToolsetVersionTool. 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’.
default_allowed_roles (list[str]) – The value to assign to the default_allowed_roles property of this DatabaseToolsMcpToolsetVersionTool.
- property default_allowed_roles¶
Gets the default_allowed_roles of this DatabaseToolsMcpToolsetVersionTool. The roles granted access to this tool by default.
- Returns
The default_allowed_roles of this DatabaseToolsMcpToolsetVersionTool.
- Return type
list[str]
- property default_status¶
[Required] Gets the default_status of this DatabaseToolsMcpToolsetVersionTool. The default status of the tool in this version.
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 default_status of this DatabaseToolsMcpToolsetVersionTool.
- Return type
str
- property description¶
[Required] Gets the description of this DatabaseToolsMcpToolsetVersionTool. The description of the tool.
- Returns
The description of this DatabaseToolsMcpToolsetVersionTool.
- Return type
str
- property display_name¶
[Required] Gets the display_name of this DatabaseToolsMcpToolsetVersionTool. The display name of the tool.
- Returns
The display_name of this DatabaseToolsMcpToolsetVersionTool.
- Return type
str
- property name¶
[Required] Gets the name of this DatabaseToolsMcpToolsetVersionTool. The unique name of the tool.
- Returns
The name of this DatabaseToolsMcpToolsetVersionTool.
- Return type
str