extract_metadata
Extract tables, columns, and functions referenced by a SQL query to support lineage or impact analysis.
Instructions
Use this when the user wants the tables, columns, and functions a SQL query references (e.g. for lineage or impact analysis). Returns {tables, columns, functions}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | The SQL string to analyze |