Get Table Context
ob_get_table_contextRetrieve read-only table context for SQL drafting and data inspection: schema, sample data, related tables, and query templates.
Instructions
Return the common read-only table context needed for SQL drafting and data inspection.
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_get_table_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| schema | No | ||
| profile | No | ||
| sampleLimit | No | ||
| includeSample | No | ||
| includeRelated | No | ||
| includeTemplates | No | ||
| relationshipLimit | No | ||
| maxTemplateColumns | No |