get_all_column_references
Extracts column references with table context from SQL statements. Supports optional dialect specification for accurate parsing.
Instructions
Extract column references from SQL statement with table context
Args:
sql: SQL statement to analyze
dialect: Optional SQL dialect (e.g., 'mysql', 'postgres')
Returns:
JSON object containing column references with table context and any errors
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": {
"sql": "<sql>"
},
"name": "get_all_column_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| dialect | No |