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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"resource": "<resource>",
"holder": "<holder>"
},
"name": "iyke_lock_acquire"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | ||
| holder | Yes | ||
| ttl_ms | No | ||
| wait_ms | No | ||
| resource | Yes |