lock_lock_acquire
Acquire a named lock for a given owner with auto-expiry TTL and blocking wait. Returns whether acquired, lock identifier, owner, and waited milliseconds.
Instructions
[lock] Acquire a named lock. owner identifies caller. ttl_s=auto-expire. wait_s=blocking wait. Returns {acquired, lock, owner, waited_ms}.
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": {
"name": "<name>"
},
"name": "lock_lock_acquire"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| owner | No | ||
| ttl_s | No | ||
| wait_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |