iyke_lock_acquire
Acquire a short-lived lease lock on a named resource for coordinating access in projects. Use holder ID from registration and set TTL and optional wait time.
Instructions
Acquire a project-scoped lease lock on a named resource. Use for short-lived coordination around shared files, plans, migrations. holder is the agent id from iyke_agent_register. ttl_ms defaults to 60000 (clamped to [1000, 600000]). If wait_ms is set, blocks up to that long for an existing lock to expire.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | ||
| holder | Yes | ||
| ttl_ms | No | ||
| wait_ms | No | ||
| resource | Yes |