get_sample_data
Preview sample rows from a table to understand data shape and actual values before generating queries.
Instructions
Preview a few rows from a table to understand its data shape.
Useful for the editor AI to understand the actual values in the database before generating queries (e.g., what status values exist, date formats, etc.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of rows to return (max 25, default 5). | |
| connection | Yes | Database alias. | |
| table_name | Yes | Table to sample. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |