vps_restart_service
Restart a system service on your VPS (e.g., nginx, MariaDB) with two-step confirmation. Only allowed services are permitted, preventing unauthorized restarts.
Instructions
Restart a system service on the VPS (e.g. nginx, mariadb).
Only services listed in the server's ALLOWED_SERVICES configuration can be restarted — anything else is refused before it ever reaches the VPS.
This causes a brief service interruption. Call once with confirm=false (or omitted) to see what would happen; nothing runs until you call again with confirm=true.
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": "vps_restart_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| service | Yes |