show_create_table
Retrieve the CREATE TABLE statement for a specified table in an Alibaba Cloud RDS database instance.
Instructions
show create table db_name.table_name
Args:
dbinstance_id (str): The ID of the RDS instance.
region_id(str): the region id of instance.
db_name(str): the db name for table.
table_name(str): the table name.
Returns:
the sql result.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"region_id": "<region_id>",
"dbinstance_id": "<dbinstance_id>",
"db_name": "<db_name>",
"table_name": "<table_name>"
},
"name": "show_create_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_name | Yes | ||
| region_id | Yes | ||
| table_name | Yes | ||
| dbinstance_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |