List top queries
render_list_postgres_top_queriesList the top 50 queries by total execution time for a Postgres instance, using pg_stat_statements to identify performance bottlenecks.
Instructions
List top queries. List the top 50 queries by total execution time (from pg_stat_statements) on a Postgres instance by ID. Calls GET /postgres/{postgresId}/query/top-queries on the Render Public API.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"postgresId": "<postgresId>"
},
"name": "render_list_postgres_top_queries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postgresId | Yes |