select_rows
Select bounded rows from a PostgreSQL table using validated identifiers, typed filters, and keyset pagination for efficient data retrieval.
Instructions
Select bounded rows using catalog-validated identifiers, typed filters, and keyset pagination
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_name": "<schema_name>",
"relation_name": "<relation_name>"
},
"name": "select_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum visible rows | |
| where | No | Structured value-bound filter | |
| cursor | No | Opaque keyset cursor from a prior page | |
| columns | No | Projected columns; omit to select every column | |
| order_by | No | Stable order including a primary or unique key | |
| schema_name | Yes | Exact schema name | |
| relation_name | Yes | Exact table or readable relation name |