lease_account
Lease an exclusive account from a pool for browser login, preventing concurrent session collisions. Must release the account when done to return it to the pool.
Instructions
Lease one account from the pool for browser login, EXCLUSIVELY, until you release it or the lease expires. No other session can be handed the same account while you hold it. You MUST call release_account with the returned lease_token when finished. If your task may run longer than the lease TTL, call renew_lease periodically to keep it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pool | Yes | Which pool to lease from, e.g. "realtor" or "admin". | |
| holder | No | A label for who is holding it (e.g. a Jira ticket id). Observability only. | |
| wait_ms | No | Override the block-and-wait timeout for this call. 0 = fail fast on an empty pool. | |
| ttl_seconds | No | Lease lifetime in seconds. Defaults to the server default TTL. |