Get a public table's schema
get_table_schemaPass optional columns (up to 20 known names) for their published meanings and value encodings on a wide table. One public table's columns (name, type, and any published profile such as null counts, distinct counts or ranges), its immutable version_id, and its capabilities: whether anonymous sampling, keyed querying and Parquet download are enabled, and capabilities.search when the table has row search: spec_digest, keyword_columns and state. state is ready (search_table answers now), preparing (a package is being built, and search may still answer, so try it) or unavailable (no package and no build). spec_digest is present only when query_table's search member accepts it. No capabilities.search means no row search. A table with capabilities.search and current_parquet true can be searched with search_table, with no key. Private workspace tables are not available here: use query_run for sealed output evidence and compare it with the approved recipe document already in the conversation. If that document is unavailable, report the limitation; do not invent a schema or publish a dataset to inspect it. Example: {"table_id": "0f2f6bfa-4a63-4f75-9a0b-1a7d9c5b2e10"}. Read this before writing a query_table call: the column names it lists are the only ones the query grammar accepts.
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_id": "<table_id>"
},
"name": "get_table_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| columns | No | ||
| table_id | Yes |