Service Restart
service_restartUse this to restart one specifically named OS service on a paired computer when requested. This interrupts the service and can disrupt active users; check scope and recovery expectations first.
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>",
"name": "<name>"
},
"name": "service_restart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Service/unit/launchd label. | |
| scope | No | Scope of the operation; choose user scope unless the task explicitly requires a system service. | |
| device | Yes | ReMCP device id returned by list_devices. Required for every device operation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Service control structured result for service. Stable fields are declared explicitly; platform-specific fields may be added. Large results may return truncated/bytes/preview instead of the full payload. | |
| text | Yes | Concise human-readable result of the tool call. |