blazesql_query
Execute natural language queries on BlazeSQL databases by specifying the database ID and query request for quick, intuitive data retrieval and analysis.
Instructions
Executes a natural language query against a specified BlazeSQL database.
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": {
"db_id": "<db_id>",
"natural_language_request": "<natural_language_request>"
},
"name": "blazesql_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_id | Yes | The ID of the BlazeSQL database connection to query. | |
| natural_language_request | Yes | The query expressed in natural language (e.g., 'show me total users per city'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The SQL query generated and executed by BlazeSQL. | |
| data_result | Yes | The structured data returned by the query, as a map of column names to value arrays. | |
| agent_response | Yes | Natural language explanation of the results from BlazeSQL. |