restart_service
Restart a systemd service to remediate Linux system issues. Requires human approval before execution.
Instructions
Restarts a systemd service. This is a STATE-CHANGING operation that REQUIRES human approval before execution.
Use this only when a service needs to be restarted as a remediation step and the user has been informed. This is the only mutating tool in MCPilot.
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": {
"service": "<service>"
},
"name": "restart_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |