Describe Table
describe-tableInspect a table's columns, row count, byte count, sorting key, database, and organization to verify schema before writing SQL or troubleshooting missing-column errors.
Instructions
Purpose: Inspect a RawTree table's columns, row count, byte count, sorting key, database, and organization.
NOT for: Sampling actual row values. Use run-query for SELECT queries.
Returns: Table metadata and columns under table. sorting_key is a comma-separated SQL expression string, empty when the table picks a key per part from the ingested data. ttl is the stored row-deletion expression or null. settings lists explicit {name, value} entries with SQL values and secrets masked by the engine.
When to use:
You need to know available fields before writing SQL
A query fails because a column may not exist
You just inserted data and want to inspect the dynamic schema
You want the current sorting key before changing it with update-table
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": "describe-table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name to describe. | |
| cluster | No | Name or ID of the cluster to use for this operation. | |
| database | No | Optional RawTree database override. RawTree uses the default database when omitted. | |
| organization | No | Name or ID of the organization containing the target cluster. |