lock_waits
Reads InnoDB wait-for edges to identify blocked sessions and their blocking sessions on MySQL 8.x or MariaDB, helping diagnose lock contention.
Instructions
[READ] InnoDB wait-for edges (blocked session -> blocking session).
Reads performance_schema.data_lock_waits on MySQL 8.x, or information_schema.innodb_lock_waits on MariaDB (flavor-branched).
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": "lock_waits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No |