rds__CreatePostgresqlDatabase
Creates a PostgreSQL database in a specified RDS instance with options for owner, character set, locale, template, comment, and public schema privilege control.
Instructions
[RDS] 在指定实例中创建数据库。
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": {
"instance_id": "<instance_id>",
"name": "<name>",
"project_id": "<project_id>"
},
"name": "rds__CreatePostgresqlDatabase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 数据库名称。 | |
| owner | No | 数据库所属用户,缺省时默认是root,不能和系统用户重名,且必须是已存在的用户。 | |
| comment | No | 数据库备注。 | |
| lc_ctype | No | 数据库分类集。默认en_US.UTF-8。 | |
| template | No | 数据库模板名称,可选值template0,template1。默认template1。 | |
| lc_collate | No | 数据库排序集。默认en_US.UTF-8。 | |
| project_id | Yes | 项目ID。 | |
| instance_id | Yes | 实例ID。 | |
| character_set | No | 数据库字符集。默认UTF8。 | |
| is_revoke_public_privilege | No | 是否回收public schema的PUBLIC CREATE权限。 |