sqlbot_ask_data
Ask data questions in natural language and get SQL, query results, or charts through an automated Text-to-SQL pipeline.
Instructions
Ask SQLBot a natural-language data question through the existing Text-to-SQL pipeline.
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": {
"question": "<question>"
},
"name": "sqlbot_ask_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | zh-CN | |
| question | Yes | Natural-language data question. | |
| access_key | No | Optional SQLBot API access key. Defaults to proxy env. | |
| return_img | No | ||
| secret_key | No | Optional SQLBot API secret key. Defaults to proxy env. | |
| finish_step | No | generate_chart | |
| datasource_id | No | Optional SQLBot datasource id. | |
| include_analysis | No | ||
| data_preview_limit | No |