host.state.query
Read rows from a declared table, optionally filtered (where: "field op value", ops = != < <= > >=, clauses joined by ' and '), ordered (order_by: "field" or "field desc") and capped (limit).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows to return; optional. | |
| table | Yes | Name of the declared table to read from. | |
| where | No | Optional filter, e.g. "age > 21"; ops are != < <= > >=, clauses joined by ' and '. | |
| end_user | No | "self" for the caller's own verified end-user identity, an explicit subject (only when this call carries no end-user identity of its own), or omit/null for the tenant-wide value. | |
| order_by | No | Optional "field" or "field desc" to sort by. | |
| tenant_key | No | The key `signup` returned. Required only when this connection carries no Authorization: Bearer header -- when both are present, the header wins. |