discover_tables
Identify tables and columns relevant to a question, including join relationships and column shortlists, to prepare for writing SQL.
Instructions
Ask the Data Discovery agent which tables and columns are relevant to a question.
Fast (~15s) and the best starting point before writing SQL. Returns the relevant tables, their join relationships, and a per-table column shortlist.
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": {
"knowledge_cluster_id": "<knowledge_cluster_id>",
"question": "<question>"
},
"name": "discover_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question | Yes | ||
| knowledge_cluster_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||