table_sizes
Rank tables by data and index size to find storage hogs and plan capacity. Returns a ranked list, flagging when more results exist.
Instructions
[READ] Largest tables by data + index size.
Args: limit: Number of tables to return, largest first (default 20). target: Target name from config; omit for the default.
Returns an envelope: {"tables": [...], "returned": N, "limit": L, "truncated": bool}. When "truncated" is true there is more beyond what was returned — re-run with a higher limit rather than treating this as the complete picture.
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": "table_sizes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| target | No |