Query rows
query_rowsReturn matching rows. Filter with where, choose columns with select, sort with order_by. Columns of linked datasets work as alias.column. At most 1,000 rows; page with offset.
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": {
"dataset_id": "<dataset_id>"
},
"name": "query_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| where | No | ||
| offset | No | ||
| select | No | ||
| version | No | The dataset version from an earlier result's meta (or one listed in describe_dataset's versions). Pass it when you chain calls (distinct_values, then aggregate): the answer stays on that version even if the data was refreshed in between (meta then has stale: true and current_version). If that version is no longer kept, the call fails with source_changed. | |
| order_by | No | ||
| dataset_id | Yes | Dataset id from list_datasets, e.g. ds_ab12cd34ef56 |