sql_query
Run read-only SQL queries against the BMW ETK parts catalog to retrieve data not covered by other tools.
Instructions
Run read-only SQL against the catalog for anything the other tools don't cover. Texts: JOIN w_ben_gk ON ben_textcode = _textcode AND ben_iso = 'en' AND ben_regiso = ''. Use describe_schema first; big tables: w_btzeilen_verbauung (59M rows, key mospid, btnr, pos), w_ben_gk (2.8M), w_komm (3.3M), w_btzeilen (3M), w_bildtaf_suche (2.4M).
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": {
"query": "<query>"
},
"name": "sql_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Read-only SQLite SELECT/WITH query on the ETK tables | |
| max_rows | No |