service_restart
Restarts a specified systemd service after explicit confirmation and owner sudo authorization, enabling controlled recovery of failed or updated services on a Linux server.
Instructions
Restart a systemd service (requires confirm=true and the owner's sudo authorization).
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_restart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |