Sample rows
sample_rowsInspect a table's data shape by returning its first rows, masking secret-looking columns, and capping results with truncation notices.
Instructions
Return the first few rows of a table so you can see the shape of the data. Columns whose names look like secrets are masked. Results are capped by row count and by size, and the response says when it truncated.
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": {
"schema": "<schema>",
"table": "<table>"
},
"name": "sample_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many rows to return. Defaults to 10, and the server cap still applies. | |
| table | Yes | Table name, unqualified. | |
| schema | Yes | Schema name. |