Sample rows
sample_rowsReturn the first N rows of a table to inspect its content. Quickly view sample data without writing SQL queries.
Instructions
Return the first N rows of a table (default 5, maximum 50) to inspect its content. Accepts "Table" or "schema.Table". Subject to the table allowlist if configured.
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": {
"table": "<table>"
},
"name": "sample_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of rows to return (1-50, default 5) | |
| table | Yes | Table name, optionally schema-qualified, e.g. "dbo.Orders" |