Skip to content

Commit 4751bbf

Browse files
author
wenfeng.wf
committed
Optimize create db ins.
1 parent f741176 commit 4751bbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rds_openapi_mcp_server/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ async def describe_available_classes(
326326
327327
Args:
328328
region_id (str): The region ID of the RDS instance.
329-
zone_id (str): The zone ID of the RDS instance.
329+
zone_id (str): The zone ID of the RDS instance. Query available zones by `describe_available_zones`.
330330
instance_charge_type (str): Instance payment type. Values: Prepaid, Postpaid, Serverless.
331331
engine (str): Database engine type. Values: MySQL, SQLServer, PostgreSQL, MariaDB.
332332
engine_version (str): Database version.
@@ -380,9 +380,9 @@ async def create_db_instance(
380380
dbinstance_storage: int,
381381
vpc_id: str,
382382
vswitch_id: str,
383+
zone_id: str,
383384
security_ip_list: str = "127.0.0.1",
384385
instance_network_type: str = "VPC",
385-
zone_id: str = None,
386386
pay_type: str = "Postpaid",
387387
instance_charge_type: str = None,
388388
system_db_charset: str = None,

0 commit comments

Comments
 (0)