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.)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"connection": "<connection>",
"table_name": "<table_name>"
},
"name": "get_sample_data"
}
}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 |