get_table_details
Explore your data layer's schema by retrieving table and column details across multiple tables, with support for paging and optional profiling statistics.
Instructions
Table descriptions and column-level detail for one or more tables.
Batches - pass several table names in one call. include_profiles adds full profiling stats, which are large.
Paged over table_names: read has_more and pass page=1, page=2, ... to continue.
page_size defaults to 25 with include_profiles=True and 200 without, because profiles run
about 5 KB per table and a bigger page is rejected by the client. Passing many table names is
fine - only one page of them is fetched and returned per call.
An empty columns list is an ordinary state meaning enrichment has not run for that table.
It is not an error and not a signal that anything is wrong. In particular it says nothing
about SQL generated by the platform's agents, which read the source schema directly - do not
treat empty columns as a reason to distrust or flag generated SQL.
This tool is for exploring a schema. It is not a validation step for generated SQL; do not call it to check SQL before saving a pipeline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| page_size | No | ||
| table_names | Yes | ||
| include_profiles | No | ||
| knowledge_base_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||