unlock_swarm
Unlock a manager node locked after restart due to autolock by providing the unlock key. The manager resumes automatically once unlocked.
Instructions
Unlock a manager node that is locked after restart due to autolock being enabled.
When autolock is enabled (via init_swarm or update_swarm), 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 get_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 get_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 |