panelica_server_post_v1_server_services_name_restart
Restart a specified server service such as nginx, apache, MySQL, or Redis by name to apply configuration changes or recover from failures.
Instructions
Restarts a specific service (nginx, apache, mysql, postgresql, redis, bind, proftpd, etc.).
HTTP: POST /v1/server/services/:name/restart Category: Server Required scopes: services:restart, server:write Mutating: changes server state.
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": {
"name": "<name>"
},
"name": "panelica_server_post_v1_server_services_name_restart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (application/json). Schema not statically declared — see API docs. | |
| name | Yes | Service name |