swarm_unlock
Unlock a swarm manager node locked after restart by providing the unlock key from any unlocked manager.
Instructions
Unlock a manager node that is locked after restart due to autolock being enabled.
When autolock is enabled (via swarm_init or swarm_update), manager nodes require
the unlock key after every restart before they can rejoin the swarm and resume
scheduling. Must be called on the locked manager node directly. Retrieve the current
unlock key with swarm_unlock_key from any unlocked manager — store it securely
when enabling autolock. A locked node cannot serve API requests and cannot return its
own key while locked; other unlocked managers in the swarm can still serve the key.
Once unlocked the manager resumes automatically.
args: key - The swarm unlock key (from swarm_unlock_key)
returns: bool - True after the swarm is unlocked
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |