Restart service
restart_serviceRestart a deployed service container on a chosen worker while preserving its configuration and data. Earnings pause only while the container comes back online.
Instructions
Restart a deployed service's container on one worker, keeping its configuration and data. It stops earning for the few seconds the container needs to come back.
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": {
"slug": "<slug>"
},
"name": "restart_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Service to restart. Lowercase catalog slug, e.g. "honeygain"; list_deployed_services and list_available_services show them. | |
| instance | No | Which copy of the service on that worker, 1 to 10. Default 1. | |
| worker_id | No | Worker (server) to act on, from list_workers. Required when more than one worker is online; with a single online worker CashPilot picks it. |