Generate Query Examples
ob_generate_query_examplesGenerate read-only SQL examples for scenarios like primary key lookup, pagination, time range queries, aggregation, and joins, using table metadata without executing queries.
Instructions
Generate scenario-based read-only SQL examples 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_examples"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| schema | No | ||
| maxRows | No | ||
| profile | No | ||
| scenarios | No | ||
| maxColumns | No |