server_service
Manage systemd services by checking status, starting, stopping, restarting, reloading, enabling, or disabling units, with previews before changes.
Instructions
Manage a systemd service. action: status, start, stop, restart, reload, enable, disable.
status is read only and runs right away. The others show a preview first.
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": {
"unit": "<unit>"
},
"name": "server_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| unit | Yes | ||
| action | No | status | |
| as_root | No | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |