service_restart
Restarts a specified router service via SSH with user confirmation to avoid unintended downtime.
Instructions
重启指定服务(写入操作,需二次确认)。
参数与返回结构同 service_start。restart 非幂等,重复调用会重复中断服务。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |