rds__UpdateReadWeight
Modifies read/write splitting weights for a specified RDS instance by setting master and read-only instance weights.
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>",
"master_weight": "<master_weight>",
"project_id": "<project_id>",
"readonly_instances": "<readonly_instances>"
},
"name": "rds__UpdateReadWeight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 项目ID。 | |
| instance_id | Yes | 实例ID。 | |
| master_weight | Yes | 主实例权重,取值范围为0~1000。 | |
| readonly_instances | Yes | 只读实例信息。 |