service_control
Query, start, stop or restart an OS service on the specified registered, authorized online device. device_id selects target, name identifies the Windows Service or macOS launchd job. action is query/status/start/stop/restart; timeout_seconds is clamped to 1–300 (default 30). Mutating actions can disrupt connectivity.
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_id": "<device_id>",
"name": "<name>",
"action": "<action>"
},
"name": "service_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| action | Yes | ||
| device_id | Yes | ||
| timeout_seconds | No |