restart_service
Restart a server service (nginx, php-fpm, mysql, redis, or supervisor) to apply configuration changes immediately.
Instructions
Restart a server service (nginx, php-fpm, mysql, redis, supervisor) to apply config changes.
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 server | |
| service | Yes | The service to restart |