Query Data Sets
dataset_queryRun a read-only SQL query against cached Data Set tables you can use (your own or any shared with you). Reference tables by their cached table name (from dataset_list/dataset_get). Only the datasets schema is accessible; a single SELECT statement is allowed and results are capped at 5000 rows.
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": {
"sql": "<sql>"
},
"name": "dataset_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | Read-only SQL against the datasets schema |