search_schema
Search database schema semantically by keyword. Uses LLM to match natural language terms to relevant tables and columns based on schema cache and semantic layer.
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.
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 |