active_queries
Lists currently running queries with run time, transaction age and wait events to identify long-running or blocked sessions causing PostgreSQL slowdowns.
Instructions
Currently running queries with run time, transaction age and wait events.
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": "active_queries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |