long_running_queries
Find active MySQL or MariaDB statements exceeding a minimum runtime, sorted oldest first, to diagnose slow queries and performance issues.
Instructions
[READ] Active statements running at least min_seconds, oldest first.
Args: min_seconds: Minimum age in seconds (default 60). 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": "long_running_queries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| min_seconds | No |