Unit Restart Tool
unit_restart_toolRestarts a systemd unit by name while refusing protected units, so you can recover or apply changes without risking critical services.
Instructions
Restart a unit. Refused for units on the protected list.
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_name": "<unit_name>"
},
"name": "unit_restart_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit_name | Yes | Systemd unit name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||