sqlbot_generate_report
Generate data reports with analysis and charts from natural-language questions, with automatic fallback to local SVG if chart generation fails.
Instructions
Generate a SQLBot data report with analysis, conclusion, and chart. Falls back to a local SVG chart/report when SQLBot chart generation fails or times out.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | zh-CN | |
| question | Yes | Natural-language report request. | |
| access_key | No | Optional SQLBot API access key. Defaults to proxy env. | |
| secret_key | No | Optional SQLBot API secret key. Defaults to proxy env. | |
| datasource_id | No | Optional SQLBot datasource id. | |
| chart_timeout_ms | No | ||
| data_preview_limit | No | ||
| prefer_sqlbot_chart | No | Try SQLBot native chart generation before returning the local fallback report. |