promote_replica
Promote a replica to primary when its original primary is lost, updating the old primary's URL variable to point to it.
Instructions
Make a replica a primary when its primary is lost (admin). The old primary's URL variable then points at it.
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": {
"service": "<service>"
},
"name": "promote_replica"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | Service id or `project.service`, e.g. `shop.api` |