Refine Query Session SQL
ob_query_refineBuild a refined read-only SELECT from a query session using columns, filters, ordering, and pagination. The query is not executed, allowing safe preview.
Instructions
Build a refined read-only SELECT from a query session using structured columns, filters, ordering, and pagination without executing it.
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": {
"sessionId": "<sessionId>"
},
"name": "ob_query_refine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| columns | No | ||
| filters | No | ||
| orderBy | No | ||
| profile | No | ||
| pageSize | No | ||
| sessionId | Yes | ||
| addColumns | No | ||
| updateSession | No | ||
| keepExistingColumns | No |