control_service
Start, stop, or restart a systemd service on a Raspberry Pi via SSH, with action allowed only after command control is explicitly enabled.
Instructions
Start, stop, or restart a systemd service after command control is explicitly enabled.
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": {
"device": "<device>",
"service": "<service>",
"action": "<action>"
},
"name": "control_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| device | Yes | ||
| service | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||