ask
Answer natural-language questions by automatically generating and executing SQL, returning a Markdown report with summary, highlights, and data preview.
Instructions
Answer a natural-language question end-to-end via the server pipeline.
Builds context, generates SQL, validates, executes it (read-only), and interprets the results. This is the fully automated path and requires an LLM provider. Use it when you want a finished answer rather than raw rows; use the get_semantic_context + run_sql path for manual control, or generate_sql to get SQL without executing. Returns a Markdown report (summary, highlights, executed SQL, metadata, follow-ups, and a data preview).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | Yes | Target database connection — its name or id (case-insensitive). List the available connections with list_connections. | |
| question | Yes | Natural-language question to answer end-to-end. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |