generate_sql
Converts natural-language questions into validated SELECT SQL queries without executing them, enabling safe data exploration and query drafting.
Instructions
Generate one validated SELECT from a natural-language question, without executing it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question | Yes | ||
| connection_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| outcome | Yes | Terminal outcome of one SQL generation attempt. | |
| question | Yes | ||
| generated | No | ||
| error_code | No | ||
| clarification | No | ||
| connection_id | Yes | ||
| contract_version | No | 1.0.0 |