Sample Table Data
sample_dataRetrieve sample rows from a SQL Server table to inspect data. Specify schema and limit (default 10, max 100) for tailored previews.
Instructions
Retrieve sample data from a table (top 10 rows by default)
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": {
"tableName": "<tableName>"
},
"name": "sample_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of rows to return (default: 10, max: 100) | |
| schema | No | Schema name (default: dbo) | |
| tableName | Yes | Name of the table to sample | |
| connectionName | No | Named connection to use (e.g., 'production', 'staging') |