table_query
Query rows from a data table with optional filtering, sorting, and pagination.
Filters use the format: [{"column": "status", "operator": "eq", "value": "active"}] Supported operators: eq, neq, gt, gte, lt, lte, like, ilike, in, is_null, is_not_null
Returns paginated results with total count.
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": {
"tableId": "<tableId>"
},
"name": "table_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-based, default: 1) | |
| limit | No | Rows per page (default: 50, max: 1000) | |
| filters | No | JSON array of filter objects: [{"column": "name", "operator": "eq", "value": "foo"}] | |
| orderBy | No | Column name to sort by | |
| tableId | Yes | The data table ID | |
| orderDir | No | Sort direction (default: desc) |