sample_rows
Preview a few rows from any database table to quickly inspect its data structure and contents. Specify table name and optional limit for targeted sampling.
Instructions
Get a sample of rows from a table to understand its data.
Args: table: Table name. limit: Number of rows to sample (default: 5, max: 20). database: Name of the database within the connection (optional). connection_name: Name of the database connection (default: "default").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| table | Yes | ||
| database | No | ||
| connection_name | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |