sample_rows
Retrieve sample rows from PostgreSQL tables to preview data quickly. Set custom limit and schema to inspect specific table contents.
Instructions
Fetch up to 50 sample rows from a table.
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 |
|---|---|---|---|
| limit | No | ||
| table | Yes | ||
| schema | No | public |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |