query
Run one read-only Data Oil SQL SELECT statement against the database and return its rows. This host is read-only: only SELECT is accepted (SEARCH_INDEX for keyword search, vector.neighbors for meaning). Rows are capped to keep the answer inside the context; ask for a LIMIT or a narrower WHERE when the answer says more remained.
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": "query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | The statement, with :name parameters | |
| limit | No | The most rows to return | |
| params | No | Values for the :name parameters |