service_stop
Stop a running systemd service by unit name on a chosen or default host, with policy checks and change approval recorded in an audit log.
Instructions
Stop a running systemd service.
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": {
"name": "<name>"
},
"name": "service_stop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | target host name from the opsgate config; omit for the default host | |
| name | Yes | systemd unit name, for example nginx or docker.service |