sample_table_rows
Fetch the first N rows of a database table to learn its data shape before writing queries or exploring unfamiliar schemas.
Instructions
Fetch the first N rows of a table to learn its data shape.
Rows arrive on the text channel only, inside the untrusted-data banner: this tool emits no structuredContent.
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": "sample_table_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| table | Yes | ||
| database | Yes |