rds__ListDatabaseUserRole
Queries Huawei Cloud RDS database role information by instance and project, and returns the roles a specified user can grant when a username is provided.
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>"
},
"name": "rds__ListDatabaseUserRole"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_name | No | 用户名,有值时返回该账号可以授权的角色集合 | |
| project_id | Yes | 项目ID | |
| instance_id | Yes | 实例ID |