get_sample_data
Preview a table by retrieving its first N rows, enabling quick data sampling and validation.
Instructions
Return the first N rows of a table.
Args:
database: Database name (plain identifier).
table: Table name (plain identifier).
limit: Maximum rows. Clamped to [1, 1000].
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": {
"database": "<database>",
"table": "<table>"
},
"name": "get_sample_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | ||
| table | Yes | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |