restart_if_stale
Restart the worker only when it serves a stale build (behind or mismatched); otherwise no-op with reason. Returns immediately; poll runtime_info for update.
Instructions
Bounded mutation. Restarts the worker only when it demonstrably serves a stale build (worker-behind-dist or surface mismatch); no-op with a reason when fresh. Returns immediately; the restart lands seconds later, so poll runtime_info for the new worker. Refuses when unsupervised.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "restart_if_stale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||