describe_dataset
Inspect a dataset's schema, column types, constraints, and row count before adding or searching records. Optionally include sample rows to preview data.
Instructions
Show a dataset's full column definitions (types and constraints) and row count.
Use this before adding or searching rows so you know the exact column names, types, and constraints. Optionally include a few sample rows (capped at 5) to see what the data looks like.
Args: name: Exact dataset name, e.g. "Candidates". sample_rows: Optional number of first rows to include, 0-5 (default 0).
Returns: {"ok": true, "dataset", "description", "row_count", "columns": [{"name", "type", "required", "default?", "options?", ...}], "samples": [{"id", ...}]} on success, {"ok": false, "error": ""} when the dataset does not exist.
Example: describe_dataset(name="Candidates", sample_rows=3)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| sample_rows | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||