implement_distributed_lock
Generate distributed locking implementation using database or Redis advisory locks
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": {
"lockBackend": "<lockBackend>",
"ttlSeconds": "<ttlSeconds>"
},
"name": "implement_distributed_lock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| withRetry | No | Include exponential back-off retry logic | |
| ttlSeconds | Yes | Lock time-to-live in seconds | |
| lockBackend | Yes | Lock backend |