Get TurboQuant heap stats
get_turboquant_heap_statsRetrieve the exact heap row count for a single TurboQuant index (schema.index); requires pg_turboquant and preserves raw upstream payload for extra counters.
Instructions
Return the exact heap row count tq_index_heap_stats() reports for a single turboquant index (schema.index). The raw upstream payload is preserved in raw for any extra counters upstream may add. Requires the pg_turboquant extension.
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": {
"schema": "<schema>",
"index": "<index>"
},
"name": "get_turboquant_heap_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| schema | Yes | ||
| database | No | Optional: a database id from list_databases, to target a configured secondary (read-only) database; omit for the primary. Database names that are not configured ids are rejected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | Yes | ||
| index | Yes | ||
| schema | Yes | ||
| row_count | Yes |