service_control
Control systemd services on Ubuntu: start, stop, restart, reload, enable, or disable services via SSH commands.
Instructions
Start, stop, restart, reload, enable, or disable a 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": {
"alias": "<alias>",
"service": "<service>",
"action": "<action>"
},
"name": "service_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | Yes | ||
| action | Yes | ||
| service | Yes | ||
| sudo_password | No |