restart_service
Restart web services like nginx, php, mysql, or redis on SpinupWP servers to resolve issues or apply configuration changes.
Instructions
Restart a specific service (nginx, php, mysql, redis) on a SpinupWP server
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": {
"server_id": "<server_id>",
"service": "<service>"
},
"name": "restart_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_id | Yes | The ID of the SpinupWP server | |
| service | Yes | The service to restart |