get_top_queries
Identify slow or resource-intensive PostgreSQL queries using pg_stat_statements to optimize database performance.
Instructions
Report slow or resource-intensive queries using pg_stat_statements
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": "get_top_queries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| sort_by | No | resources |