Alibaba Cloud DMS MCP Server

Official
by aliyun

searchDatabase

Search database instances in Alibaba Cloud DMS using schemaName with pagination support. Retrieve details like DatabaseId, Host, Port, SchemaName, and DbType for efficient database management.

Instructions

Search databases in DMS based on schemaName. This tool allows searching for database instances in the DMS using a provided search key(schemaName). It supports pagination to handle large result sets efficiently. Parameters: search_key (str): schemaName. page_number (int, optional): The page number to retrieve (starting from 1). Defaults to 1. page_size (int, optional): Number of results per page, up to a maximum of 1000. Defaults to 200. Returns: List[Dict[str, Any]]: A list of dictionaries, each representing a matched database with fields such as: - DatabaseId: Unique database identifier in DMS - Host: Hostname or IP address of the database instance - Port: Connection port number - SchemaName: Name of the database schema - DbType: Database Engine type

Input Schema

NameRequiredDescriptionDefault
page_numberNo
page_sizeNo
search_keyYes

Input Schema (JSON Schema)

{ "properties": { "page_number": { "default": 1, "title": "Page Number", "type": "integer" }, "page_size": { "default": 200, "title": "Page Size", "type": "integer" }, "search_key": { "title": "Search Key", "type": "string" } }, "required": [ "search_key" ], "title": "searchDatabaseArguments", "type": "object" }

You must be authenticated.

Other Tools from Alibaba Cloud DMS MCP Server

Related Tools

ID: hyhi1ys72b