Describe AO table
describe_ao_tableRetrieve append-optimized or columnar table storage metadata—orientation, compression type and level, block size, and checksum—while identifying regular heap tables or unavailable support.
Instructions
Describe append-optimized (AO) / append-optimized columnar (AO/CO) storage metadata for one table: row vs column orientation, compression_type, compression_level, block_size, checksum. Reads pg_appendonly. Returns is_ao=false cleanly when the table is a regular heap. Read-only. On vanilla PG returns available=false.
Example: describe_ao_table(schema='public', table='events_ao')
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>",
"table": "<table>"
},
"name": "describe_ao_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | 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 |
|---|---|---|---|
| is_ao | Yes | ||
| table | Yes | ||
| detail | Yes | ||
| schema | Yes | ||
| checksum | Yes | ||
| columnar | Yes | ||
| block_size | Yes | ||
| compression_type | Yes | ||
| compression_level | Yes |