Query Rows
row_query · Tools · Tables
Search one table's rows
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
filters | object[] | No | Conditions combined with AND. Targets: , or 'id'. |
limit | integer | No | Rows per page. |
offset | integer | No | Rows to skip. |
search | object | No | Ranked free-text search. Use it to find a row by wording; use 'filters' for an exact match. |
sort | object | No |
Query Table Rows#
Filters, sorts, and pages the rows of the one table this tool was composed for.
Composed by the Table Tools node. The AI-visible name is the table's prefix plus _query
— reading_list_query for a table named Reading List.
Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
filters |
array | No | Conditions combined with AND |
sort |
object | No | { "target", "direction" }, direction asc or desc |
limit |
integer | No | Rows per page, 1..=500. Over the cap is refused, not clamped |
offset |
integer | No | Rows to skip |
Each filter is { "target", "operator", "operand" }. target is a declared field name or id.
Operators are eq, neq, gt, gte, lt, lte, contains, is_null, is_not_null,
includes, includes_any, in, and not_in. contains is a substring of text; includes is
membership of a list or object field.
null is only valid for eq, neq, is_null, and is_not_null. includes_any, in, and
not_in take a non-empty array.
Returns#
| Field | Type | Description |
|---|---|---|
table |
string | The table slug |
rows |
array | Rows in the page, each tagged valid, broken, or unaddressable |
total |
number | Every matching item, broken ones included |
A row is published under the state it is in. A valid row is { "valid": { … } }, and the row is an
object of its columns, with id among them.
A broken item is { "broken": { "id", "reason", "raw" } }, carrying the reason it fails the
table's declaration and its raw contents, so it can be repaired rather than silently missed. A row
that carried no readable id is { "unaddressable": { "raw" } }. No item is ever dropped from a
read.