list_locks
List held and awaited PostgreSQL locks with owning backend and object to diagnose blocking and lock contention.
Instructions
[READ] Held/awaited locks joined to their owning backend and object.
Args:
target: Target name from config; omit for the default.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_locks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No |