services_restart
Restart a service on DirectAdmin by providing its name and confirming the action, enabling recovery from failures or application of changes.
Instructions
Restart a service.
Args: service: Service name. confirm: Required.
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": "services_restart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| service | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |