Unit Stop Tool
unit_stop_toolStops a specified systemd unit via D-Bus and rejects protected units to prevent accidental shutdown of critical services.
Instructions
Stop 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_stop_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit_name | Yes | Systemd unit name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||