opspilot_restart_service
Restart a single registered service on a host, requiring local approval before execution. Uses OpsPilot's approval workflow to prevent unauthorized changes.
Instructions
Request a single registered service restart for local approval.
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": {
"host_alias": "<host_alias>",
"service": "<service>"
},
"name": "opspilot_restart_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | ||
| host_alias | Yes |