rds__ExecutePrivilegeDatabaseUserRole
Grants specified roles to a database user on a Huawei Cloud RDS instance using project and instance IDs. Use it to manage user privileges after user and role names are known.
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>",
"project_id": "<project_id>",
"roles": "<roles>",
"user": "<user>"
},
"name": "rds__ExecutePrivilegeDatabaseUserRole"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | 用户名称 | |
| roles | Yes | 角色名称 | |
| project_id | Yes | 项目ID | |
| instance_id | Yes | 实例ID |