Generate Read-only Query Templates
ob_generate_queryGenerate read-only SQL templates from table metadata filtered by policies, without executing the queries.
Instructions
Generate read-only SQL templates from policy-filtered table metadata without executing them.
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": {
"table": "<table>"
},
"name": "ob_generate_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| schema | No | ||
| maxRows | No | ||
| profile | No | ||
| scenarios | No | ||
| maxColumns | No |