restart_service
Restart firewall services like unbound, dhcpd, or openvpn and preview changes with dry-run; management-API services are refused to avoid losing the connection.
Instructions
[WRITE][risk=medium] Restart a firewall service (unbound, dhcpd, openvpn, ...).
REFUSES the service that answers this appliance's own management API (nginx / lighttpd / configd / webgui and friends): restarting it kills the connection this tool is using, so the restart cannot be observed and the undo cannot run. Restart those from the console instead. Pass dry_run=True to preview.
Args: service: Service name to restart. dry_run: If True, preview without restarting. target: Firewall target name from config; omit for the default.
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": "restart_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No | ||
| service | Yes |