add_replica
Attach a read replica to a database on a selected server or region to scale reads. MongoDB and MariaDB primaries restart once on first use.
Instructions
Add a read replica to a database, on a given server or region (placement {node, region, labels}). MongoDB and MariaDB primaries restart once the first time.
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": "add_replica"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | Service id or `project.service`, e.g. `shop.api` | |
| placement | No |