Restart a service
restartRestart the service process: the site unit on a shared host, the whole box on a managed server. Refused while a deploy is in progress.
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": {
"serviceId": "<serviceId>"
},
"name": "restart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serviceId | Yes | the id of a service on this account |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No |