Skip to content

describe_dataset

Return a dataset’s schema and row count plus a small head sample. Use this before writing a query_datasets SQL to confirm column names and types.

  • “What columns are in this dataset?”
  • Before slicing or filtering a dataset for the first time.
ParameterTypeRequiredDescription
dataset_idstringYesThe ds_... identifier returned by a previous tool.
sample_rowsintegerNoPreview row count. Default 5, max 20.
target_tenant_idstringNoSuper tenants only.

JSON with the dataset handle, schema (columns + inferred types), row count, and a head sample.

  • The sample is capped at 20 rows. Anything beyond that should flow through query_datasets with an explicit LIMIT.