search_schema
Find database tables and columns by describing them in natural language. Uses LLM-powered semantic matching, enriched by an optional semantic layer, to return relevant schema elements.
Instructions
Semantically search tables and columns by keyword using LLM.
Combines the in-memory schema cache and the semantic layer markdown (if configured) into a prompt, then calls the configured LLM to find relevant tables and columns.
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": {
"keyword": "<keyword>"
},
"name": "search_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Optional filter — "table" to match tables only, "column" to match columns only. Omit to search both tables and columns. | |
| keyword | Yes | Natural language search term (e.g. "customer receivables", "WIP inventory", "应收账款"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |