svc_manage
Start, stop, restart, enable, disable, or check status of any Linux service. Automatically detects systemd or sysvinit init systems.
Instructions
Manage a service: start/stop/restart/enable/disable/status. Auto-detects systemd/sysvinit.
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": {
"session_id": "<session_id>",
"service": "<service>",
"action": "<action>"
},
"name": "svc_manage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | start | stop | restart | enable | disable | status | |
| service | Yes | Service name, e.g. nginx, sshd, docker | |
| session_id | Yes |