Select rows
select_rowsReads rows from a table using structured filters, ordering, and a limit of up to 100 while applying RLS for the anon role and avoiding raw SQL.
Instructions
Reads rows from one table with structured filters (eq, neq, gt, gte, lt, lte, like, ilike, in, is_null), ordering and a limit of at most 100. Rows are filtered by RLS for role anon. No raw SQL.
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": "select_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| table | Yes | ||
| offset | No | ||
| schema | No | public | |
| columns | No | ||
| filters | No | ||
| orderBy | No |