pg_table_sizes
Display table sizes with index and toast breakdown, sorted by total size descending.
Instructions
Show table sizes with index and toast breakdown, sorted by total size descending.
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": {
"target": "<target>"
},
"name": "pg_table_sizes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | Schema name filter (default: 'public') | |
| target | Yes | Target name from ~/.dbx/targets/ |