instance-active
Switches an instance's active flag on or off for every app, with confirm and reason required for emergency changes.
Instructions
dbabrain common.cli instance-active: One instance switched on or off for every app - its active flag.
Changes or removes something. A command on the emergency-operations list takes confirm: "yes" and a reason in its request, as on the command line.
Request fields (pass them as request):
server_id (required): The instance, as written in db_instances.json.
active (required): true switches the record on for every app, false off. metrics.enabled is metric-toggle's.
data_dir: Another data/ folder to read.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "instance-active"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |