gaussdbfornosql__ShowInstanceRole
Fetch primary/standby role information for a disaster recovery instance to confirm its status before promoting a standby or demoting a primary.
Instructions
[GAUSSDBFORNOSQL] 该接口用于获取容灾实例主/备角色信息,以便后续容灾实例备升主和容灾实例主降备接口调用。
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": "gaussdbfornosql__ShowInstanceRole"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 租户在某一region下的project ID。 | |
| instance_id | Yes | 实例ID。 |