table_stats
Retrieve size and activity statistics for a PostgreSQL table, including live and dead rows, table sizes, last vacuum and analyze times, and scan ratios.
Instructions
Size and activity statistics for a table (live/dead rows, sizes, last vacuum/analyze, sequential vs index scans).
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": {
"table": "<table>"
},
"name": "table_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| schema | No | public |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||