analyze_transaction_and_locking
Audit SQL or application transaction blocks to detect lost-update race conditions from missing FOR UPDATE, external network calls inside open transactions, and deadlock risks.
Instructions
Audit SQL or application transaction blocks to detect Lost Update race conditions (missing FOR UPDATE), external HTTP/network calls inside open transactions, and deadlock risks.
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": {
"dialect": "<dialect>",
"source": "<source>"
},
"name": "analyze_transaction_and_locking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| dialect | Yes |