pg_active_queries
Retrieve active PostgreSQL queries currently running on the server to monitor database activity and identify potential performance issues.
Instructions
Get active queries currently running on the server.
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": "pg_active_queries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connectionId | No | Id of the postgres connection to use, from databases.config.yml. Optional when only one postgres connection is configured. |