sample_rows
Preview the first 1–50 rows of a table to inspect data before writing queries. Set the table name and optional row count (default 5) to check schema and sample values.
Instructions
Return the first n rows of a table (1-50, default 5).
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 |
|---|---|---|---|
| n | No | ||
| table | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||