restart_service
Restart a DBngin local PostgreSQL or Redis service by stopping and starting it, useful when a running service needs to reload configuration or recover.
Instructions
Restart a DBngin local database service (stop_service followed by start_service). Supported engines: postgresql and redis. Use only when a restart is actually needed; for a stopped service, prefer start_service.
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": "restart_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | DBngin service ID from list_services. Takes precedence over 'name'. | |
| name | No | Service name as shown in DBngin (case-insensitive). Names can repeat across engine types; pass 'type' to disambiguate (e.g. { name: 'myapp', type: 'redis' }). | |
| type | No | Engine type used to disambiguate services that share the same name. |