Capability change announced Apr 13, 2026
Snowflake Cortex documents a capability change: “Apr 13, 2026: Improved SQL generation in Cortex Agents Cortex Agents that use Cortex Analyst semantic views as tools now generate SQL directly, rather than…”
- Hosting route
- First-party API
- Affected scope
- Not stated in the notice
- Replacement
- system_execute_sql
- Announced
- Apr 13, 2026
- First seen by ModelClock
- Oct 3, 2026
What the provider published
docs.snowflake.com ↗Apr 13, 2026: Improved SQL generation in Cortex Agents
Cortex Agents that use Cortex Analyst semantic views as tools now generate SQL directly, rather than delegating SQL generation to the Cortex Analyst service as a separate step. This results in improved accuracy and lower latency for analytical queries.
The tool definition in your agent configuration remains the same. No changes to your agent configuration or semantic views are required. Other resources defined in your semantic view, such as Cortex Search services, continue to be used by the agent.
Changes to the response format
- Tool use and tool result blocks of type
cortex_analyst_text_to_sqlare replaced by blocks of typesystem_execute_sql. Thesystem_execute_sqltool use block contains asqlfield with the SQL generated by the agent. The tool result block contains thequery_id,result_set, and finalsql.- If your application parses the agent response for
cortex_analyst_text_to_sqlblocks, update it to look for
Read from the provider's text; the quote is the provider's exact lines.