sample_table
Preview data from any Postgres table by returning a configurable number of rows (1-50) without altering the database.
Instructions
Return the first n rows of a table. n is clamped to 1..50.
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_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| table | Yes | ||
| schema | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| columns | Yes | ||
| row_count | Yes | ||
| truncated | Yes |