get_table_stats
Retrieve table statistics including row count, vacuum and analyze info, and scan counts for a specified table and schema.
Instructions
Get table statistics (rows, vacuum/analyze, scan counts).
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": "get_table_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | Schema name (default: public) | public |
| table | Yes | Table name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |