get_table_schema
Retrieve a table's column names and types to build precise queries and avoid guessing field names before filtering or analyzing auction data.
Instructions
List a table's column names and types so you can build a precise query.
Call this before query_table (or before adding filters to market_stats /
price_trend) to learn the exact field names a table exposes — e.g. whether
prices are in usd_price_decimal, how the brand/designer field is named, or
whether a carats column exists. Avoids guessing column names.
Example: before querying Rolex sales, call get_table_schema("watches") to
confirm the brand field is designer and the price field is
usd_price_decimal.
Args: table: Table alias (call list_tables for the full set). Note: "gems" = loose/unmounted stones; "jewelry" = finished/mounted pieces.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |