get_table_stats
Retrieve table scan statistics, tuple counts, dead row accumulation, and maintenance history to assess PostgreSQL table health and identify vacuuming needs.
Instructions
Get scan statistics, tuple counts, dead row accumulation, and maintenance history for tables
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_table_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | Optional table name to retrieve detailed metrics for a single table | |
| schema | No | Schema name (default: "public") | public |